From d23a87c9c2c7df6a1dc759b949229efbe629d41a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 17 Jan 2023 09:20:17 +0100 Subject: [PATCH] v4.15.3 (cherry picked from commit ba5d9443a3860a01bc2010beb72831e956fb154f) --- .gitignore | 1 + php-nikic-php-parser4.spec | 23 ++++++++++------------- sources | 2 +- 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index b1854e1..16b4599 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/php-nikic-php-parser4.spec b/php-nikic-php-parser4.spec index 00d65ee..234a5bb 100644 --- a/php-nikic-php-parser4.spec +++ b/php-nikic-php-parser4.spec @@ -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 - 4.15.3-1 +- update to 4.15.3 + * Mon Nov 14 2022 Remi Collet - 4.15.2-1 - update to 4.15.2 diff --git a/sources b/sources index 4c613c8..dc3e74d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-nikic-php-parser4-4.15.2-f59bbe4.tgz) = 5ca2a2feb53d2a37b095d2e36f9226aa663927acfdd781153b874ee196448f84bf831d3485ba58e3f994cc07711bbe92f578ac9608afef3ddc7e6f6ee58aa741 +SHA512 (php-nikic-php-parser4-4.15.3-570e980.tgz) = 56f47c944579d788ebe3c098b50a6509216d02541e83ddeeb96a614d37b2666780fcb43058e2fc21b369036b5600561631ac35f3edf6fd7189f15c5bbca1192e