From 8ba4b929fe2b78c506ad721dbe551345bbce4f59 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 11 Dec 2023 07:15:07 +0100 Subject: [PATCH] v4.18.0 (cherry picked from commit 37063dfa379b0fdb50675a1f56a8cc69aa392b3d) --- .gitignore | 1 + php-nikic-php-parser4.spec | 11 ++++++----- sources | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index b6b5df0..0507a56 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ clog /php-nikic-php-parser4-4.15.5-11e2663.tgz /php-nikic-php-parser4-4.16.0-19526a3.tgz /php-nikic-php-parser4-4.17.1-a6303e5.tgz +/php-nikic-php-parser4-4.18.0-1bcbb21.tgz diff --git a/php-nikic-php-parser4.spec b/php-nikic-php-parser4.spec index 49a3674..297c16d 100644 --- a/php-nikic-php-parser4.spec +++ b/php-nikic-php-parser4.spec @@ -7,8 +7,6 @@ # Please, preserve the changelog entries # -# For compatibility with SCL -%undefine __brp_mangle_shebangs %if 0%{?fedora} %bcond_without tests @@ -17,7 +15,7 @@ %bcond_with tests %endif -%global gh_commit a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d +%global gh_commit 1bcbb2179f97633e98bbbc87044ee2611c7d7999 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner nikic %global gh_project PHP-Parser @@ -27,7 +25,7 @@ %global major 4 Name: php-%{gh_owner}-%{pk_project}%{major} -Version: 4.17.1 +Version: 4.18.0 Release: 1%{?dist} Summary: A PHP parser written in PHP - version %{major} @@ -128,7 +126,7 @@ AUTOLOAD FILTER="--filter '^((?!(testLexNewFeatures)).)*$'" 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} \ @@ -151,6 +149,9 @@ exit $ret %changelog +* Mon Dec 11 2023 Remi Collet - 4.18.0-1 +- update to 4.18.0 + * Fri Aug 18 2023 Remi Collet - 4.17.1-1 - update to 4.17.1 diff --git a/sources b/sources index 777f98b..03cb53f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-nikic-php-parser4-4.17.1-a6303e5.tgz) = b8bfdfd482af7cafdde18105b9d577ca91ea683389471ccddca5d7fb1241ef19650f7b4508f930b4537fc7a0742ba7a75e675d749419448d2fe3c5f47d536f5d +SHA512 (php-nikic-php-parser4-4.18.0-1bcbb21.tgz) = ec4682a2fc9075895c2fbc9a17ed6de0e9580c11277176014bd5a8c1c414cc271f5e24ef34650e671e851860ac316ede72b4f62ad61955fb7fc6da56fdd86134