From 476b7a87a73e29a0c35be17ee977921f903d1df3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 31 Dec 2024 07:41:59 +0100 Subject: [PATCH] update to 5.4.0 re-license spec file to CECILL-2.1 --- .gitignore | 1 + php-nikic-php-parser5.spec | 20 +++++++++----------- sources | 2 +- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 2cd4a0b..ce5df19 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /php-nikic-php-parser5-5.2.0-23c79fb.tgz /php-nikic-php-parser5-5.3.0-3abf742.tgz /php-nikic-php-parser5-5.3.1-8eea230.tgz +/php-nikic-php-parser5-5.4.0-447a020.tgz diff --git a/php-nikic-php-parser5.spec b/php-nikic-php-parser5.spec index a772f03..9a1754e 100644 --- a/php-nikic-php-parser5.spec +++ b/php-nikic-php-parser5.spec @@ -1,8 +1,8 @@ # remirepo/fedora spec file for php-nikic-php-parser5 # -# Copyright (c) 2016-2024 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2024 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # @@ -14,7 +14,7 @@ %bcond_with tests %endif -%global gh_commit 8eea230464783aa9671db8eea6f8c6ac5285794b +%global gh_commit 447a020a1f875a434d62f2a401f53b82a396e494 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner nikic %global gh_project PHP-Parser @@ -23,7 +23,7 @@ %global ns_project PhpParser %global major 5 -%global upstream_version 5.3.1 +%global upstream_version 5.4.0 #global upstream_prever rc1 Name: php-%{gh_owner}-%{pk_project}%{major} @@ -45,11 +45,8 @@ BuildArch: noarch # For tests BuildRequires: php(language) >= 7.4 BuildRequires: php-tokenizer -BuildRequires: php-reflection BuildRequires: php-ctype BuildRequires: php-json -BuildRequires: php-pcre -BuildRequires: php-spl # From composer.json, "require-dev": { # "phpunit/phpunit": "^9.0", # "ircmaxell/php-yacc": "0.0.7" @@ -69,9 +66,6 @@ Requires: php-tokenizer Requires: php-json Requires: php-ctype # From phpcompatinfo report for version 5.0.0 -Requires: php-reflection -Requires: php-pcre -Requires: php-spl Requires: php-cli # Autoloader Requires: php-composer(fedora/autoloader) @@ -155,6 +149,10 @@ exit $ret %changelog +* Tue Dec 31 2024 Remi Collet - 5.4.0-1 +- update to 5.4.0 +- re-license spec file to CECILL-2.1 + * Wed Oct 9 2024 Remi Collet - 5.3.1-1 - update to 5.3.1 diff --git a/sources b/sources index 5ff5485..8aff865 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-nikic-php-parser5-5.3.1-8eea230.tgz) = d78eecede0af5e9d1f38580dbb1820895e72237bffb4da204a25f13b8a72acd93492488ad407e9279c1a124f1aac7c8e841d1ff810498758bd84da32d51e4ecb +SHA512 (php-nikic-php-parser5-5.4.0-447a020.tgz) = 13d04df6b770c35d04ab2d6d91b7a061a6f22435b2b5fa025f98d8300f9b721c058b9101224f8be1c1b7ed3551afc29b1c3233e6008c70ef692c8c8250b1faeb