diff --git a/.gitignore b/.gitignore index c3a85ba..6db7ad7 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ clog /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 diff --git a/php-nikic-php-parser4.spec b/php-nikic-php-parser4.spec index 5fcf916..b6c456c 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 fe14cf3672a149364fb66dfe11bf6549af899f94 +%global gh_commit 6608f01670c3cc5079e18c1dab1104e002579143 %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.11.0 +Version: 4.12.0 Release: 1%{?dist} Summary: A PHP parser written in PHP - version %{major} @@ -128,11 +128,11 @@ else fi ret=0 -# TODO php81 -for cmdarg in "php %{phpunit}" 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 @@ -151,6 +151,9 @@ exit $ret %changelog +* 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 diff --git a/sources b/sources index dd31314..aa08063 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-nikic-php-parser4-4.11.0-fe14cf3.tgz) = c846eee5f36821459b957937ea1f39adb296322f0fe0da4fc218dcf11711d9ef0fc4c12a4a7af6ec4d2f9b130be32070ead7893afa2386cd9afa4adbf7c754a9 +SHA512 (php-nikic-php-parser4-4.12.0-6608f01.tgz) = cd703ad6abe57ab03718cca698a23204665fe90e4b1fd2a5106ea1785ce85dd46c1381494778f653f14a0ee59abb2e0bf20cd40f8b5063cb930233c10dd64a30