diff --git a/.gitignore b/.gitignore index 9aae347..0507a56 100644 --- a/.gitignore +++ b/.gitignore @@ -27,7 +27,3 @@ 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 -/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 5658e8c..9380b53 100644 --- a/php-nikic-php-parser4.spec +++ b/php-nikic-php-parser4.spec @@ -1,8 +1,8 @@ # remirepo/fedora spec file for php-nikic-php-parser4 # -# SPDX-FileCopyrightText: Copyright 2016-2025 Remi Collet -# SPDX-License-Identifier: CECILL-2.1 -# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt +# 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 # @@ -15,7 +15,7 @@ %bcond_with tests %endif -%global gh_commit 51bd93cc741b7fc3d63d20b6bdcd99fdaa359837 +%global gh_commit 1bcbb2179f97633e98bbbc87044ee2611c7d7999 %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.5 +Version: 4.18.0 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": "^7.0 || ^8.0 || ^9.0", +# "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0", # "ircmaxell/php-yacc": "0.0.7" %global phpunit %{_bindir}/phpunit9 BuildRequires: phpunit9 @@ -58,9 +58,9 @@ BuildRequires: phpunit9 BuildRequires: php-fedora-autoloader-devel # From composer.json, "require": { -# "php": ">=7.1", +# "php": ">=7.0", # "ext-tokenizer": "*" -Requires: php(language) >= 7.1 +Requires: php(language) >= 7.0 Requires: php-tokenizer # From phpcompatinfo report for version 4.0.0 Requires: php-reflection @@ -126,7 +126,7 @@ AUTOLOAD FILTER="--filter '^((?!(testLexNewFeatures)).)*$'" ret=0 -for cmdarg in "php %{phpunit}" php81 php82 php83 php84 php85; do +for cmdarg in "php %{phpunit}" php81 php82 php83; do if which $cmdarg; then set $cmdarg $1 -d include_path=%{php_home} \ @@ -149,44 +149,12 @@ 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 @@ -196,9 +164,6 @@ exit $ret * 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 @@ -208,9 +173,6 @@ 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 diff --git a/sources b/sources index 619d1c0..03cb53f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-nikic-php-parser4-4.19.5-51bd93c.tgz) = 739cb8134ca83bfaeb8189dc40ef7603e2c7c7813d28841b279306f6e2d3f77910eb5033aae0c2bad0f38d0dc6490953cc3518bf433c4f99cecf2007c10d17cc +SHA512 (php-nikic-php-parser4-4.18.0-1bcbb21.tgz) = ec4682a2fc9075895c2fbc9a17ed6de0e9580c11277176014bd5a8c1c414cc271f5e24ef34650e671e851860ac316ede72b4f62ad61955fb7fc6da56fdd86134