(cherry picked from commit 30d2e14400)
This commit is contained in:
Remi Collet 2020-04-14 14:28:40 +02:00
commit 7174f3a148
3 changed files with 9 additions and 5 deletions

View file

@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-nikic-php-parser4
#
# Copyright (c) 2016-2019 Remi Collet
# Copyright (c) 2016-2020 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@ -10,7 +10,7 @@
# For compatibility with SCL
%undefine __brp_mangle_shebangs
%global gh_commit 9a9981c347c5c49d6dfe5cf826bb882b824080dc
%global gh_commit bd43ec7152eaaab3bd8c6d0aa95ceeb1df8ee120
%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.3.0
Version: 4.4.0
Release: 1%{?dist}
Summary: A PHP parser written in PHP - version %{major}
@ -125,7 +125,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; do
for cmdarg in "php %{phpunit}" "php71 %{_bindir}/phpunit7" php72 php73 php74 php80; do
if which $cmdarg; then
set $cmdarg
$1 ${2:-%{_bindir}/phpunit8} \
@ -148,6 +148,9 @@ exit $ret
%changelog
* Mon Apr 13 2020 Remi Collet <remi@remirepo.net> - 4.4.0-1
- update to 4.4.0
* Tue Nov 12 2019 Remi Collet <remi@remirepo.net> - 4.3.0-1
- update to 4.3.0