This commit is contained in:
Remi Collet 2020-08-10 12:13:11 +02:00
commit f2aecc50e3
3 changed files with 9 additions and 5 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,8 +21,8 @@
%global major 4
Name: php-%{gh_owner}-%{pk_project}%{major}
Version: 4.6.0
Release: 2%{?dist}
Version: 4.8.0
Release: 1%{?dist}
Summary: A PHP parser written in PHP - version %{major}
License: BSD
@ -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
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild