diff --git a/.gitignore b/.gitignore index 01cc9cd..8fba7d3 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,8 @@ clog /php-nikic-php-parser4-4.10.2-658f1be.tgz /php-nikic-php-parser4-4.10.3-dbe56d2.tgz /php-nikic-php-parser4-4.10.4-c6d052f.tgz +/php-nikic-php-parser4-4.10.5-4432ba3.tgz +/php-nikic-php-parser4-4.11.0-fe14cf3.tgz +/php-nikic-php-parser4-4.12.0-6608f01.tgz +/php-nikic-php-parser4-4.13.0-50953a2.tgz +/php-nikic-php-parser4-4.13.1-63a79e8.tgz diff --git a/php-nikic-php-parser4.spec b/php-nikic-php-parser4.spec index 34cb616..9af60e1 100644 --- a/php-nikic-php-parser4.spec +++ b/php-nikic-php-parser4.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-nikic-php-parser4 # -# Copyright (c) 2016-2020 Remi Collet +# Copyright (c) 2016-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -10,7 +10,7 @@ # For compatibility with SCL %undefine __brp_mangle_shebangs -%global gh_commit c6d052fc58cb876152f89f532b95a8d7907e7f0e +%global gh_commit 63a79e8daa781cac14e5195e63ed8ae231dd10fd %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner nikic %global gh_project PHP-Parser @@ -21,7 +21,7 @@ %global major 4 Name: php-%{gh_owner}-%{pk_project}%{major} -Version: 4.10.4 +Version: 4.13.1 Release: 1%{?dist} Summary: A PHP parser written in PHP - version %{major} @@ -36,8 +36,8 @@ Patch0: %{name}-rpm.patch BuildArch: noarch %if %{with_tests} # For tests -# as we use phpunit8 -BuildRequires: php(language) >= 7.2 +# as we use phpunit9 +BuildRequires: php(language) >= 7.3 BuildRequires: php-tokenizer BuildRequires: php-reflection BuildRequires: php-ctype @@ -47,8 +47,8 @@ BuildRequires: php-spl # From composer.json, "require-dev": { # "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0", # "ircmaxell/php-yacc": "0.0.7" -%global phpunit %{_bindir}/phpunit8 -BuildRequires: phpunit8 +%global phpunit %{_bindir}/phpunit9 +BuildRequires: phpunit9 # Autoloader BuildRequires: php-fedora-autoloader-devel %endif @@ -128,10 +128,11 @@ else fi ret=0 -for cmdarg in "php %{phpunit}" "php72%{_bindir}/phpunit8" php73 php74 php80; do +for cmdarg in "php %{phpunit}" php73 php74 php80 php81; do if which $cmdarg; then set $cmdarg - $1 -d auto_prepend_file=%{buildroot}/%{php_home}/%{ns_project}%{major}/autoload.php \ + $1 -d include_path=%{php_home} \ + -d auto_prepend_file=%{buildroot}/%{php_home}/%{ns_project}%{major}/autoload.php \ ${2:-%{_bindir}/phpunit9} $FILTER --verbose || ret=1 fi done @@ -150,6 +151,22 @@ exit $ret %changelog +* Thu Nov 4 2021 Remi Collet - 4.13.1-1 +- update to 4.13.1 + +* Tue Sep 21 2021 Remi Collet - 4.13.0-1 +- update to 4.13.0 + +* Wed Jul 21 2021 Remi Collet - 4.12.0-1 +- update to 4.12.0 + +* Mon Jul 5 2021 Remi Collet - 4.11.0-1 +- update to 4.11.0 +- switch to phpunit9 + +* Tue May 4 2021 Remi Collet - 4.10.5-1 +- update to 4.10.5 + * Mon Dec 21 2020 Remi Collet - 4.10.4-1 - update to 4.10.4 diff --git a/sources b/sources index 7b8aee1..bb9cd5e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-nikic-php-parser4-4.10.4-c6d052f.tgz) = dcf22d719c5ff3e7e162a751aeaf18fce97d320e79e1c659a7efe30b2de55ebb4efd06a8bb944985400ef00db5c7cb7a611dfd7a4c95fde4c861af51936b426d +SHA512 (php-nikic-php-parser4-4.13.1-63a79e8.tgz) = 05e20b26e2e0d9f149ef431e095d06e51d31370ef095f6fcdfb3b6855098e175d4963695774d6858a7d64765f1046718997ce29068c12a18173905d3712cc471