From e69bd32db30018b96096ab180a417e4fb531b673 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 19 Mar 2024 15:03:23 +0100 Subject: [PATCH 1/3] update to 4.19.1 raise dependency on PHP 7.1 (cherry picked from commit 03b32fa88b8cf0a821982f23a849ef586b100c15) --- .gitignore | 1 + php-nikic-php-parser4.spec | 14 +++++++++----- sources | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 0507a56..3d81ff7 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ clog /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 +/php-nikic-php-parser4-4.19.1-4e1b88d.tgz diff --git a/php-nikic-php-parser4.spec b/php-nikic-php-parser4.spec index 80fb9aa..108d86b 100644 --- a/php-nikic-php-parser4.spec +++ b/php-nikic-php-parser4.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-nikic-php-parser4 # -# Copyright (c) 2016-2023 Remi Collet +# Copyright (c) 2016-2024 Remi Collet # License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -15,7 +15,7 @@ %bcond_with tests %endif -%global gh_commit 1bcbb2179f97633e98bbbc87044ee2611c7d7999 +%global gh_commit 4e1b88d21c69391150ace211e9eaf05810858d0b %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner nikic %global gh_project PHP-Parser @@ -25,7 +25,7 @@ %global major 4 Name: php-%{gh_owner}-%{pk_project}%{major} -Version: 4.18.0 +Version: 4.19.1 Release: 1%{?dist} Summary: A PHP parser written in PHP - version %{major} @@ -58,9 +58,9 @@ BuildRequires: phpunit9 BuildRequires: php-fedora-autoloader-devel # From composer.json, "require": { -# "php": ">=7.0", +# "php": ">=7.1", # "ext-tokenizer": "*" -Requires: php(language) >= 7.0 +Requires: php(language) >= 7.1 Requires: php-tokenizer # From phpcompatinfo report for version 4.0.0 Requires: php-reflection @@ -149,6 +149,10 @@ exit $ret %changelog +* Tue Mar 19 2024 Remi Collet - 4.19.1-1 +- update to 4.19.1 +- raise dependency on PHP 7.1 + * Mon Dec 11 2023 Remi Collet - 4.18.0-1 - update to 4.18.0 diff --git a/sources b/sources index 03cb53f..5165174 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-nikic-php-parser4-4.18.0-1bcbb21.tgz) = ec4682a2fc9075895c2fbc9a17ed6de0e9580c11277176014bd5a8c1c414cc271f5e24ef34650e671e851860ac316ede72b4f62ad61955fb7fc6da56fdd86134 +SHA512 (php-nikic-php-parser4-4.19.1-4e1b88d.tgz) = 42b7a4c9cb67221a4803e1e61bfbc2fb4b37e07b06df551b818e9166bb941fea2939461f50a2bff2a552e83427fb199d61209b41ba6f9eaf928aa3e832f84131 From 5429d9f28a5cae521c0f8f0add9ea3c6791181a3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 18 Sep 2024 15:13:16 +0200 Subject: [PATCH 2/3] v4.19.2 (cherry picked from commit 0a1ad37159f3eae9185380a3912f265ba1ddf403) (cherry picked from commit c5942aebdaf10ab6d046f8f599e6e8fbbb573ba5) --- .gitignore | 1 + php-nikic-php-parser4.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 3d81ff7..7c7cdef 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ clog /php-nikic-php-parser4-4.17.1-a6303e5.tgz /php-nikic-php-parser4-4.18.0-1bcbb21.tgz /php-nikic-php-parser4-4.19.1-4e1b88d.tgz +/php-nikic-php-parser4-4.19.2-0ed4c89.tgz diff --git a/php-nikic-php-parser4.spec b/php-nikic-php-parser4.spec index 108d86b..a0bdd9a 100644 --- a/php-nikic-php-parser4.spec +++ b/php-nikic-php-parser4.spec @@ -15,7 +15,7 @@ %bcond_with tests %endif -%global gh_commit 4e1b88d21c69391150ace211e9eaf05810858d0b +%global gh_commit 0ed4c8949a32986043e977dbe14776c14d644c45 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner nikic %global gh_project PHP-Parser @@ -25,7 +25,7 @@ %global major 4 Name: php-%{gh_owner}-%{pk_project}%{major} -Version: 4.19.1 +Version: 4.19.2 Release: 1%{?dist} Summary: A PHP parser written in PHP - version %{major} @@ -126,7 +126,7 @@ AUTOLOAD FILTER="--filter '^((?!(testLexNewFeatures)).)*$'" ret=0 -for cmdarg in "php %{phpunit}" php81 php82 php83; do +for cmdarg in "php %{phpunit}" php81 php82 php83 php84; do if which $cmdarg; then set $cmdarg $1 -d include_path=%{php_home} \ @@ -149,6 +149,9 @@ exit $ret %changelog +* Wed Sep 18 2024 Remi Collet - 4.19.2-1 +- update to 4.19.2 + * Tue Mar 19 2024 Remi Collet - 4.19.1-1 - update to 4.19.1 - raise dependency on PHP 7.1 diff --git a/sources b/sources index 5165174..1c5d8d7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-nikic-php-parser4-4.19.1-4e1b88d.tgz) = 42b7a4c9cb67221a4803e1e61bfbc2fb4b37e07b06df551b818e9166bb941fea2939461f50a2bff2a552e83427fb199d61209b41ba6f9eaf928aa3e832f84131 +SHA512 (php-nikic-php-parser4-4.19.2-0ed4c89.tgz) = b1453d0ca5bc50eda6e00f2f58bd2e6e9666fb427c0b4a7426f31d7bfd534786fc9efca91cf56b2e8655c8f8aabb4dd4f8cb34485aba6d790f500f5e33e02764 From e906eb5b52e8bb79b3d4c4ffc25e70c4e3dedf43 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 30 Sep 2024 07:39:44 +0200 Subject: [PATCH 3/3] v4.19.4 (cherry picked from commit 52f2336083da6fb4ef042c7e372e13b428bb45b9) --- .gitignore | 1 + php-nikic-php-parser4.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 7c7cdef..9962f52 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ clog /php-nikic-php-parser4-4.18.0-1bcbb21.tgz /php-nikic-php-parser4-4.19.1-4e1b88d.tgz /php-nikic-php-parser4-4.19.2-0ed4c89.tgz +/php-nikic-php-parser4-4.19.4-715f4d2.tgz diff --git a/php-nikic-php-parser4.spec b/php-nikic-php-parser4.spec index a0bdd9a..de0cb85 100644 --- a/php-nikic-php-parser4.spec +++ b/php-nikic-php-parser4.spec @@ -15,7 +15,7 @@ %bcond_with tests %endif -%global gh_commit 0ed4c8949a32986043e977dbe14776c14d644c45 +%global gh_commit 715f4d25e225bc47b293a8b997fe6ce99bf987d2 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner nikic %global gh_project PHP-Parser @@ -25,7 +25,7 @@ %global major 4 Name: php-%{gh_owner}-%{pk_project}%{major} -Version: 4.19.2 +Version: 4.19.4 Release: 1%{?dist} Summary: A PHP parser written in PHP - version %{major} @@ -49,7 +49,7 @@ BuildRequires: php-json BuildRequires: php-pcre BuildRequires: php-spl # From composer.json, "require-dev": { -# "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0", +# "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", # "ircmaxell/php-yacc": "0.0.7" %global phpunit %{_bindir}/phpunit9 BuildRequires: phpunit9 @@ -149,6 +149,9 @@ exit $ret %changelog +* Mon Sep 30 2024 Remi Collet - 4.19.4-1 +- update to 4.19.4 + * Wed Sep 18 2024 Remi Collet - 4.19.2-1 - update to 4.19.2 diff --git a/sources b/sources index 1c5d8d7..b1a71f1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-nikic-php-parser4-4.19.2-0ed4c89.tgz) = b1453d0ca5bc50eda6e00f2f58bd2e6e9666fb427c0b4a7426f31d7bfd534786fc9efca91cf56b2e8655c8f8aabb4dd4f8cb34485aba6d790f500f5e33e02764 +SHA512 (php-nikic-php-parser4-4.19.4-715f4d2.tgz) = c6eb9e25fe950264a8f27bf16adc603af9973da0514f0b728fc0fd768f000f7a983403c674209f78941672adf72ca61d54e705d05884b7dc4ccfbfa7d4e6696b