From 88f4ef5fb10d72acd8e53f2c749345a449f610c9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 05:40:07 +0000 Subject: [PATCH 1/3] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- php-theseer-tokenizer.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-theseer-tokenizer.spec b/php-theseer-tokenizer.spec index 0a59374..e2d20ca 100644 --- a/php-theseer-tokenizer.spec +++ b/php-theseer-tokenizer.spec @@ -15,7 +15,7 @@ Name: php-%{gh_vendor}-%{gh_project} Version: 1.2.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Library for converting tokenized PHP source code into XML License: BSD-3-Clause @@ -93,6 +93,9 @@ exit $ret %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 1.2.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sat Jan 18 2025 Fedora Release Engineering - 1.2.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From ae0bea86319f233ab84fcf47b8130c2fe5da65aa Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 14 Nov 2025 08:46:26 +0100 Subject: [PATCH 2/3] update to 1.3.0 re-license spec file to CECILL-2.1 --- .gitignore | 1 + php-theseer-tokenizer.spec | 28 +++++++++++++++++++--------- sources | 2 +- 3 files changed, 21 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 081bbae..6775d3c 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ clog /php-theseer-tokenizer-1.2.1-34a41e9.tgz /php-theseer-tokenizer-1.2.2-b2ad500.tgz /php-theseer-tokenizer-1.2.3-737eda6.tgz +/php-theseer-tokenizer-1.3.0-d74205c.tgz diff --git a/php-theseer-tokenizer.spec b/php-theseer-tokenizer.spec index e2d20ca..37383b1 100644 --- a/php-theseer-tokenizer.spec +++ b/php-theseer-tokenizer.spec @@ -1,12 +1,14 @@ # remirepo/fedora spec file for php-theseer-tokenizer # -# Copyright (c) 2017-2024 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2017-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # -%global gh_commit 737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2 +%bcond_without tests + +%global gh_commit d74205c497bfbca49f34d4bc4c19c17e22db4ebb %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_vendor theseer %global gh_project tokenizer @@ -14,8 +16,8 @@ %global ns_project Tokenizer Name: php-%{gh_vendor}-%{gh_project} -Version: 1.2.3 -Release: 4%{?dist} +Version: 1.3.0 +Release: 1%{?dist} Summary: Library for converting tokenized PHP source code into XML License: BSD-3-Clause @@ -30,10 +32,12 @@ BuildRequires: php-dom BuildRequires: php-tokenizer BuildRequires: php-pcre BuildRequires: php-spl -# Autoloader -BuildRequires: php-fedora-autoloader-devel >= 1.0.0 +%if %{with tests} # Tests BuildRequires: phpunit9 +%endif +# Autoloader +BuildRequires: php-fedora-autoloader-devel >= 1.0.0 # From composer.json, "require": { # "php": "^7.0 || ^8.0", @@ -73,9 +77,10 @@ mkdir -p %{buildroot}%{_datadir}/php/%{ns_vendor} cp -pr src %{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project} +%if %{with tests} %check ret=0 -for cmdarg in php php81 php82 php83; do +for cmdarg in php php81 php82 php83 php84 php85; do if which $cmdarg; then $cmdarg -d auto_prepend_file=%{buildroot}%{_datadir}/php/%{ns_vendor}/%{ns_project}/autoload.php \ %{_bindir}/phpunit9 \ @@ -83,6 +88,7 @@ for cmdarg in php php81 php82 php83; do fi done exit $ret +%endif %files @@ -93,6 +99,10 @@ exit $ret %changelog +* Fri Nov 14 2025 Remi Collet - 1.3.0-1 +- update to 1.3.0 +- re-license spec file to CECILL-2.1 + * Fri Jul 25 2025 Fedora Release Engineering - 1.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild diff --git a/sources b/sources index b645a8a..388aff1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-theseer-tokenizer-1.2.3-737eda6.tgz) = 0257d482d321600f55766abf7365d8e97ebd5b5d43dbc42d3d99f5e9abf5e36e75ec019c1e7f65120b1ac67be7464f91684cbbf97e294688748614e773c4adeb +SHA512 (php-theseer-tokenizer-1.3.0-d74205c.tgz) = 6f7c237595c18af74825dfaeb2dcbfaafe86901dc516f74521cfeb46ef0d9d391a4c71f287e7a0e099ec60c6188cd61340585a8923949acd252c560d80b7f476 From 1bde8d220b6235508539b3dff9f53cf99369cae4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 19 Nov 2025 11:02:35 +0100 Subject: [PATCH 3/3] v1.3.1 --- .gitignore | 1 + php-theseer-tokenizer.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6775d3c..a914996 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ clog /php-theseer-tokenizer-1.2.2-b2ad500.tgz /php-theseer-tokenizer-1.2.3-737eda6.tgz /php-theseer-tokenizer-1.3.0-d74205c.tgz +/php-theseer-tokenizer-1.3.1-b7489ce.tgz diff --git a/php-theseer-tokenizer.spec b/php-theseer-tokenizer.spec index 37383b1..f3d4e8e 100644 --- a/php-theseer-tokenizer.spec +++ b/php-theseer-tokenizer.spec @@ -8,7 +8,7 @@ # %bcond_without tests -%global gh_commit d74205c497bfbca49f34d4bc4c19c17e22db4ebb +%global gh_commit b7489ce515e168639d17feec34b8847c326b0b3c %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_vendor theseer %global gh_project tokenizer @@ -16,7 +16,7 @@ %global ns_project Tokenizer Name: php-%{gh_vendor}-%{gh_project} -Version: 1.3.0 +Version: 1.3.1 Release: 1%{?dist} Summary: Library for converting tokenized PHP source code into XML @@ -99,6 +99,9 @@ exit $ret %changelog +* Wed Nov 19 2025 Remi Collet - 1.3.1-1 +- update to 1.3.1 + * Fri Nov 14 2025 Remi Collet - 1.3.0-1 - update to 1.3.0 - re-license spec file to CECILL-2.1 diff --git a/sources b/sources index 388aff1..9c485e2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-theseer-tokenizer-1.3.0-d74205c.tgz) = 6f7c237595c18af74825dfaeb2dcbfaafe86901dc516f74521cfeb46ef0d9d391a4c71f287e7a0e099ec60c6188cd61340585a8923949acd252c560d80b7f476 +SHA512 (php-theseer-tokenizer-1.3.1-b7489ce.tgz) = 0eaecbe299b3844be21e22891eff42d864885b5dfb9960e29abc804f44c79884f429ea29acf0671f9107ffb1948398c181c5f7c0cee7d8ce4299d59af0ff3113