diff --git a/.gitignore b/.gitignore index 2b4eaf4..9aae347 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,11 @@ clog /php-nikic-php-parser4-4.15.2-f59bbe4.tgz /php-nikic-php-parser4-4.15.3-570e980.tgz /php-nikic-php-parser4-4.15.4-6bb5176.tgz +/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 +/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 +/php-nikic-php-parser4-4.19.5-51bd93c.tgz diff --git a/php-nikic-php-parser4.spec b/php-nikic-php-parser4.spec index da29562..5658e8c 100644 --- a/php-nikic-php-parser4.spec +++ b/php-nikic-php-parser4.spec @@ -1,14 +1,12 @@ # remirepo/fedora spec file for php-nikic-php-parser4 # -# Copyright (c) 2016-2023 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2016-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # 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 6bb5176bc4af8bcb7d926f88718db9b96a2d4290 +%global gh_commit 51bd93cc741b7fc3d63d20b6bdcd99fdaa359837 %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.15.4 +Version: 4.19.5 Release: 1%{?dist} Summary: A PHP parser written in PHP - version %{major} @@ -51,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 @@ -60,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 @@ -91,7 +89,7 @@ Autoloader: %{php_home}/%{ns_project}%{major}/autoload.php %prep %setup -q -n %{gh_project}-%{gh_commit} -%patch0 -p1 -b .rpm +%patch -P0 -p1 -b .rpm %build @@ -128,7 +126,7 @@ AUTOLOAD FILTER="--filter '^((?!(testLexNewFeatures)).)*$'" ret=0 -for cmdarg in "php %{phpunit}" php80 php81 php82; do +for cmdarg in "php %{phpunit}" php81 php82 php83 php84 php85; do if which $cmdarg; then set $cmdarg $1 -d include_path=%{php_home} \ @@ -151,9 +149,56 @@ exit $ret %changelog +* Tue Dec 9 2025 Remi Collet - 4.19.5-1 +- update to 4.19.5 +- re-license spec file to CECILL-2.1 + +* Fri Jul 25 2025 Fedora Release Engineering - 4.19.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Sat Jan 18 2025 Fedora Release Engineering - 4.19.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* 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 + +* Fri Jul 19 2024 Fedora Release Engineering - 4.19.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Tue Mar 19 2024 Remi Collet - 4.19.1-1 +- update to 4.19.1 +- raise dependency on PHP 7.1 + +* Thu Jan 25 2024 Fedora Release Engineering - 4.18.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 4.18.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* 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 + +* Fri Jul 21 2023 Fedora Release Engineering - 4.16.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon Jun 26 2023 Remi Collet - 4.16.0-1 +- update to 4.16.0 + +* Wed May 24 2023 Remi Collet - 4.15.5-1 +- update to 4.15.5 + * Mon Mar 6 2023 Remi Collet - 4.15.4-1 - update to 4.15.4 +* Fri Jan 20 2023 Fedora Release Engineering - 4.15.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Tue Jan 17 2023 Remi Collet - 4.15.3-1 - update to 4.15.3 @@ -162,6 +207,11 @@ exit $ret * Thu Sep 8 2022 Remi Collet - 4.15.1-1 - update to 4.15.1 + +* Fri Jul 22 2022 Fedora Release Engineering - 4.14.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Remi Collet - 4.14.0-2 - only run test suite on Fedora, not on EL * Wed Jun 1 2022 Remi Collet - 4.14.0-1 diff --git a/sources b/sources index 4e5d254..619d1c0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-nikic-php-parser4-4.15.4-6bb5176.tgz) = a7793f9097d761a50aef37fc99673cb988596c460bad29be312b005c99dda5e55f93589d52990d942929d6d9f7062c265064748765b6d9e267dc5841b41b0df1 +SHA512 (php-nikic-php-parser4-4.19.5-51bd93c.tgz) = 739cb8134ca83bfaeb8189dc40ef7603e2c7c7813d28841b279306f6e2d3f77910eb5033aae0c2bad0f38d0dc6490953cc3518bf433c4f99cecf2007c10d17cc