diff options
Diffstat (limited to 'php-nikic-php-parser4.spec')
-rw-r--r-- | php-nikic-php-parser4.spec | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/php-nikic-php-parser4.spec b/php-nikic-php-parser4.spec index a94315a..0aa5930 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 594bcae1fc0bccd3993d2f0d61a018e26ac2865a +%global gh_commit 5221f49a608808c1e4d436df32884cbc1b821ac0 %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.2.0 +Version: 4.2.1 Release: 1%{?dist} Summary: A PHP parser written in PHP - version %{major} @@ -120,7 +120,12 @@ sed -e 's:%{php_home}:%{buildroot}%{php_home}:' \ php bin/php-parse-test --help : Test suite autoloader -sed -e 's:@BUILDROOT@:%{buildroot}:' -i test/bootstrap.php +mkdir vendor +cat << 'AUTOLOAD' | tee vendor/autoload.php +<?php +require_once '%{buildroot}/%{php_home}/%{ns_project}%{major}/autoload.php'; +\Fedora\Autoloader\Autoload::addPsr4('%{ns_project}\\', dirname(__DIR__).'/test/PhpParser/'); +AUTOLOAD : Upstream test suite ret=0 @@ -147,6 +152,9 @@ exit $ret %changelog +* Mon Feb 18 2019 Remi Collet <remi@remirepo.net> - 4.2.1-1 +- update to 4.2.1 + * Sun Jan 13 2019 Remi Collet <remi@remirepo.net> - 4.2.0-1 - update to 4.2.0 |