parent
71df210093
commit
083020b64e
4 changed files with 14 additions and 16 deletions
|
|
@ -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}
|
||||
|
||||
|
|
@ -113,7 +113,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
|
||||
|
|
@ -138,6 +143,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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue