This commit is contained in:
Remi Collet 2024-07-02 11:09:47 +02:00
commit 34bc21bc37
3 changed files with 9 additions and 5 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/php-nikic-php-parser5-5.0.2-1396767.tgz
/php-nikic-php-parser5-5.1.0-683130c.tgz

View file

@ -14,7 +14,7 @@
%bcond_with tests
%endif
%global gh_commit 139676794dc1e9231bf7bcd123cfc0c99182cb13
%global gh_commit 683130c2ff8c2739f4822ff7ac5c873ec529abd1
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner nikic
%global gh_project PHP-Parser
@ -23,7 +23,7 @@
%global ns_project PhpParser
%global major 5
%global upstream_version 5.0.2
%global upstream_version 5.1.0
#global upstream_prever rc1
Name: php-%{gh_owner}-%{pk_project}%{major}
@ -51,7 +51,7 @@ BuildRequires: php-json
BuildRequires: php-pcre
BuildRequires: php-spl
# From composer.json, "require-dev": {
# "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
# "phpunit/phpunit": "^9.0",
# "ircmaxell/php-yacc": "0.0.7"
%global phpunit %{_bindir}/phpunit9
BuildRequires: phpunit9
@ -132,7 +132,7 @@ AUTOLOAD
FILTER="--filter '^((?!(testAliases)).)*$'"
ret=0
for cmdarg in "php %{phpunit}" php80 php81 php82 php83; do
for cmdarg in "php %{phpunit}" php81 php82 php83; do
if which $cmdarg; then
set $cmdarg
$1 -d include_path=%{php_home} \
@ -155,6 +155,9 @@ exit $ret
%changelog
* Tue Jul 2 2024 Remi Collet <remi@remirepo.net> - 5.1.0-1
- update to 5.1.0
* Wed Mar 6 2024 Remi Collet <remi@remirepo.net> - 5.0.2-1
- update to 5.0.2

View file

@ -1 +1 @@
SHA512 (php-nikic-php-parser5-5.0.2-1396767.tgz) = 2c4f0a974fedf7e218da9a96935a7d3152260b2aa988dd31d7c6787ad8bdaa27ad5e589f19c5a7b66452633a5fc162c79509682db9a5bb0512c579de44ad06e5
SHA512 (php-nikic-php-parser5-5.1.0-683130c.tgz) = c72dba631140169af5bc5c81d81680711907b58ef4c75a25ff2ac0956fea38ff08568a7148c6ec7b4daf61696d3d325a77c8d283fced97d795222c40f7f1adc4