diff options
-rw-r--r-- | php-nikic-php-parser4.spec | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/php-nikic-php-parser4.spec b/php-nikic-php-parser4.spec index 830e7bb..bfe5f6b 100644 --- a/php-nikic-php-parser4.spec +++ b/php-nikic-php-parser4.spec @@ -10,7 +10,7 @@ # For compatibility with SCL %undefine __brp_mangle_shebangs -%global gh_commit 53c2753d756f5adb586dca79c2ec0e2654dd9463 +%global gh_commit c346bbfafe2ff60680258b631afb730d186ed864 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner nikic %global gh_project PHP-Parser @@ -21,8 +21,8 @@ %global major 4 Name: php-%{gh_owner}-%{pk_project}%{major} -Version: 4.5.0 -Release: 2%{?dist} +Version: 4.6.0 +Release: 1%{?dist} Summary: A PHP parser written in PHP - version %{major} License: BSD @@ -36,7 +36,8 @@ Patch0: %{name}-rpm.patch BuildArch: noarch %if %{with_tests} # For tests -BuildRequires: php(language) >= 7.0 +# as we use phpunit8 +BuildRequires: php(language) >= 7.2 BuildRequires: php-tokenizer BuildRequires: php-reflection BuildRequires: php-ctype @@ -46,15 +47,8 @@ BuildRequires: php-spl # From composer.json, "require-dev": { # "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0", # "ircmaxell/php-yacc": "0.0.5" -# remirepo:1 -%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8 %global phpunit %{_bindir}/phpunit8 BuildRequires: phpunit8 -# remirepo:4 -%else -%global phpunit %{_bindir}/phpunit6 -BuildRequires: phpunit6 >= 6.5 -%endif # Autoloader BuildRequires: php-fedora-autoloader-devel %endif @@ -153,6 +147,9 @@ exit $ret %changelog +* Fri Jul 3 2020 Remi Collet <remi@remirepo.net> - 4.6.0-1 +- update to 4.6.0 + * Thu Jun 25 2020 Remi Collet <remi@remirepo.net> - 4.5.0-2 - switch to classmap autoloader - add missing dependency on fedora/autoloader |