diff --git a/.gitignore b/.gitignore index 289569a..6af1979 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ /php-sebastian-complexity3-3.0.0-e67d240.tgz +/php-sebastian-complexity3-3.0.1-c70b738.tgz +/php-sebastian-complexity3-3.1.0-68cfb34.tgz +/php-sebastian-complexity3-3.2.0-68ff824.tgz diff --git a/php-sebastian-complexity3.spec b/php-sebastian-complexity3.spec index 1bc62c7..9fecd61 100644 --- a/php-sebastian-complexity3.spec +++ b/php-sebastian-complexity3.spec @@ -7,11 +7,10 @@ # Please, preserve the changelog entries # -# disabled until phpunit10 available -%bcond_with tests +%bcond_without tests # github -%global gh_commit e67d240970c9dc7ea7b2123a6d520e334dd61dc6 +%global gh_commit 68ff824baeae169ec9f2137158ee529584553799 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project complexity @@ -25,8 +24,8 @@ %global ns_project Complexity Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 3.0.0 -Release: 2%{?dist} +Version: 3.2.0 +Release: 1%{?dist} Summary: Calculating the complexity of PHP code units, version %{major} License: BSD-3-Clause @@ -37,7 +36,7 @@ Source1: makesrc.sh BuildArch: noarch BuildRequires: php(language) >= 8.1 -BuildRequires: (php-composer(nikic/php-parser) >= 4.10 with php-composer(nikic/php-parser) < 5) +BuildRequires: (php-composer(nikic/php-parser) >= 4.18 with php-composer(nikic/php-parser) < 6) # Autoloader BuildRequires: php-fedora-autoloader-devel >= 1.0.0 %if %{with tests} @@ -48,9 +47,9 @@ BuildRequires: phpunit10 # from composer.json, "require": { # "php": ">=8.1", -# "nikic/php-parser": "^4.10" +# "nikic/php-parser": "^4.18 || ^5.0" Requires: php(language) >= 8.1 -Requires: (php-composer(nikic/php-parser) >= 4.10 with php-composer(nikic/php-parser) < 5) +Requires: (php-composer(nikic/php-parser) >= 4.18 with php-composer(nikic/php-parser) < 6) # from phpcompatinfo report for version 3.0.0 # none # Autoloader @@ -77,7 +76,10 @@ phpab --template fedora --output src/autoload.php src cat < - 3.2.0-1 +- update to 3.2.0 +- raise dependency on nikic/php-parser 4.18 and allow 5.0 + +* Thu Sep 28 2023 Remi Collet - 3.1.0-1 +- update to 3.1.0 + +* Thu Aug 31 2023 Remi Collet - 3.0.1-1 +- update to 3.0.1 +- Enable test suite + * Fri Jul 21 2023 Fedora Release Engineering - 3.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index ad3301f..44f6adc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-sebastian-complexity3-3.0.0-e67d240.tgz) = 228787b0e65690851f45d2c100cfaa674f06faa9339700f07c595d42ca4c63355e3c9cdfefa52513a111350071b470b8c9103d3d1e578feaed98dfbf082b7a33 +SHA512 (php-sebastian-complexity3-3.2.0-68ff824.tgz) = c4bbae7fd782adf1d5f86d95aa32f439cbdf6c9ac273b04671ca112cc789926c6279f63662743c0faea9cb18133eec31ac0d074f9e5eb30b392005a981402010