(cherry picked from commit ba5d9443a3)
This commit is contained in:
Remi Collet 2023-01-17 09:20:17 +01:00
commit d23a87c9c2
3 changed files with 12 additions and 14 deletions

1
.gitignore vendored
View file

@ -21,3 +21,4 @@ clog
/php-nikic-php-parser4-4.14.0-34bea19.tgz
/php-nikic-php-parser4-4.15.1-0ef6c55.tgz
/php-nikic-php-parser4-4.15.2-f59bbe4.tgz
/php-nikic-php-parser4-4.15.3-570e980.tgz

View file

@ -1,7 +1,7 @@
# remirepo/fedora spec file for php-nikic-php-parser4
#
# Copyright (c) 2016-2022 Remi Collet
# License: CC-BY-SA
# Copyright (c) 2016-2023 Remi Collet
# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
@ -17,7 +17,7 @@
%bcond_with tests
%endif
%global gh_commit f59bbe44bf7d96f24f3e2b4ddc21cd52c1d2adbc
%global gh_commit 570e980a201d8ed0236b0a62ddf2c9cbb2034039
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner nikic
%global gh_project PHP-Parser
@ -27,11 +27,11 @@
%global major 4
Name: php-%{gh_owner}-%{pk_project}%{major}
Version: 4.15.2
Version: 4.15.3
Release: 1%{?dist}
Summary: A PHP parser written in PHP - version %{major}
License: BSD
License: BSD-3-Clause
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: %{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh
@ -125,16 +125,10 @@ cat << 'AUTOLOAD' | tee vendor/autoload.php
AUTOLOAD
: Upstream test suite
BITS=$(php -r 'echo PHP_INT_SIZE;')
if [ $BITS -lt 8 ]; then
# ignore test failing on 32-bit (in koji)
FILTER="--filter '^((?!(testParse|testLexNewFeatures)).)*$'"
else
FILTER="--filter '^((?!(testLexNewFeatures)).)*$'"
fi
FILTER="--filter '^((?!(testLexNewFeatures)).)*$'"
ret=0
for cmdarg in "php %{phpunit}" php74 php80 php81 php82; do
for cmdarg in "php %{phpunit}" php80 php81 php82; do
if which $cmdarg; then
set $cmdarg
$1 -d include_path=%{php_home} \
@ -157,6 +151,9 @@ exit $ret
%changelog
* Tue Jan 17 2023 Remi Collet <remi@remirepo.net> - 4.15.3-1
- update to 4.15.3
* Mon Nov 14 2022 Remi Collet <remi@remirepo.net> - 4.15.2-1
- update to 4.15.2

View file

@ -1 +1 @@
SHA512 (php-nikic-php-parser4-4.15.2-f59bbe4.tgz) = 5ca2a2feb53d2a37b095d2e36f9226aa663927acfdd781153b874ee196448f84bf831d3485ba58e3f994cc07711bbe92f578ac9608afef3ddc7e6f6ee58aa741
SHA512 (php-nikic-php-parser4-4.15.3-570e980.tgz) = 56f47c944579d788ebe3c098b50a6509216d02541e83ddeeb96a614d37b2666780fcb43058e2fc21b369036b5600561631ac35f3edf6fd7189f15c5bbca1192e