(cherry picked from commit 037a582099)
This commit is contained in:
Remi Collet 2025-06-18 11:07:49 +02:00
commit beeaedfb45
3 changed files with 9 additions and 8 deletions

1
.gitignore vendored
View file

@ -4,3 +4,4 @@
/php-nikic-php-parser5-5.3.0-3abf742.tgz
/php-nikic-php-parser5-5.3.1-8eea230.tgz
/php-nikic-php-parser5-5.4.0-447a020.tgz
/php-nikic-php-parser5-5.5.0-ae59794.tgz

View file

@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-nikic-php-parser5
#
# SPDX-FileCopyrightText: Copyright 2024 Remi Collet
# SPDX-FileCopyrightText: Copyright 2016-2025 Remi Collet
# SPDX-License-Identifier: CECILL-2.1
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
@ -14,7 +14,7 @@
%bcond_with tests
%endif
%global gh_commit 447a020a1f875a434d62f2a401f53b82a396e494
%global gh_commit ae59794362fe85e051a58ad36b289443f57be7a9
%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.4.0
%global upstream_version 5.5.0
#global upstream_prever rc1
Name: php-%{gh_owner}-%{pk_project}%{major}
@ -122,16 +122,13 @@ cat << 'AUTOLOAD' | tee vendor/autoload.php
AUTOLOAD
: Upstream test suite
# need investigations (autoloader ?)
FILTER="--filter '^((?!(testAliases)).)*$'"
ret=0
for cmdarg in "php %{phpunit}" php81 php82 php83 php84; do
if which $cmdarg; then
set $cmdarg
$1 -d include_path=%{php_home} \
-d auto_prepend_file=%{buildroot}/%{php_home}/%{ns_project}%{major}/autoload.php \
${2:-%{_bindir}/phpunit9} $FILTER --verbose || ret=1
${2:-%{_bindir}/phpunit9} --verbose || ret=1
fi
done
exit $ret
@ -149,6 +146,9 @@ exit $ret
%changelog
* Wed Jun 18 2025 Remi Collet <remi@remirepo.net> - 5.5.0-1
- update to 5.5.0
* Tue Dec 31 2024 Remi Collet <remi@remirepo.net> - 5.4.0-1
- update to 5.4.0
- re-license spec file to CECILL-2.1

View file

@ -1 +1 @@
SHA512 (php-nikic-php-parser5-5.4.0-447a020.tgz) = 13d04df6b770c35d04ab2d6d91b7a061a6f22435b2b5fa025f98d8300f9b721c058b9101224f8be1c1b7ed3551afc29b1c3233e6008c70ef692c8c8250b1faeb
SHA512 (php-nikic-php-parser5-5.5.0-ae59794.tgz) = 7b760f7d7404bff4ec793d7e960cb10ac7f33e8eee92b93f330e9187d39518365da055de1ad98221a46c2f23c2d5145b8d781aa031ef60183f3ebf9888c7d64c