(cherry picked from commit f2aecc50e3)
This commit is contained in:
Remi Collet 2020-08-10 12:13:11 +02:00
commit 152ed850a3
3 changed files with 8 additions and 4 deletions

View file

@ -10,7 +10,7 @@
# For compatibility with SCL
%undefine __brp_mangle_shebangs
%global gh_commit c346bbfafe2ff60680258b631afb730d186ed864
%global gh_commit 8c58eb4cd4f3883f82611abeac2efbc3dbed787e
%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.6.0
Version: 4.8.0
Release: 1%{?dist}
Summary: A PHP parser written in PHP - version %{major}
@ -122,7 +122,7 @@ AUTOLOAD
: Upstream test suite
# ignore test failing on 32-bit (in koji)
ret=0
for cmdarg in "php %{phpunit}" "php71 %{_bindir}/phpunit7" php72 php73 php74 php80; do
for cmdarg in "php %{phpunit}" php72 php73 "php74 %{_bindir}/phpunit9" "php80 %{_bindir}/phpunit9"; do
if which $cmdarg; then
set $cmdarg
$1 ${2:-%{_bindir}/phpunit8} \
@ -145,6 +145,9 @@ exit $ret
%changelog
* Mon Aug 10 2020 Remi Collet <remi@remirepo.net> - 4.8.0-1
- update to 4.8.0
* Fri Jul 3 2020 Remi Collet <remi@remirepo.net> - 4.6.0-1
- update to 4.6.0