From 7f505877ccd58967317c57876653ac1c142557d5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 09:43:01 +0000 Subject: [PATCH 1/4] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- php-sebastian-code-unit3.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-sebastian-code-unit3.spec b/php-sebastian-code-unit3.spec index 4807002..916e4a7 100644 --- a/php-sebastian-code-unit3.spec +++ b/php-sebastian-code-unit3.spec @@ -27,7 +27,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 3.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Collection of value objects that represent the PHP code units, version %{major} License: BSD-3-Clause @@ -122,6 +122,9 @@ exit $ret %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 3.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Dec 12 2024 Remi Collet - 3.0.2-1 - update to 3.0.2 - re-license spec file to CECILL-2.1 From 64279f5b9347b9639f10d79a0b60cd3021656ae5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 4 Feb 2025 09:08:58 +0100 Subject: [PATCH 2/4] enable test suite --- php-sebastian-code-unit3.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/php-sebastian-code-unit3.spec b/php-sebastian-code-unit3.spec index 916e4a7..26290c1 100644 --- a/php-sebastian-code-unit3.spec +++ b/php-sebastian-code-unit3.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-sebastian-code-unit3 # -# SPDX-FileCopyrightText: Copyright 2024 Remi Collet +# SPDX-FileCopyrightText: Copyright 2020-2025 Remi Collet # SPDX-License-Identifier: CECILL-2.1 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # @@ -8,7 +8,7 @@ # # disabled until phpunit11 available -%bcond_with tests +%bcond_without tests # Sources %global gh_commit ee88b0cdbe74cf8dd3b54940ff17643c0d6543ca @@ -27,7 +27,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 3.0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Collection of value objects that represent the PHP code units, version %{major} License: BSD-3-Clause @@ -122,6 +122,9 @@ exit $ret %changelog +* Tue Feb 4 2025 Remi Collet - 3.0.2-3 +- enable test suite + * Sat Jan 18 2025 Fedora Release Engineering - 3.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 705beb221354a07426cc803ca36c4ba97a661bcc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 19 Mar 2025 11:11:48 +0100 Subject: [PATCH 3/4] v3.0.3 --- .gitignore | 1 + php-sebastian-code-unit3.spec | 16 ++++++++-------- sources | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 706a11f..a5a3a5d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /php-sebastian-code-unit3-3.0.2-ee88b0c.tgz +/php-sebastian-code-unit3-3.0.3-54391c6.tgz diff --git a/php-sebastian-code-unit3.spec b/php-sebastian-code-unit3.spec index 26290c1..0565353 100644 --- a/php-sebastian-code-unit3.spec +++ b/php-sebastian-code-unit3.spec @@ -11,11 +11,11 @@ %bcond_without tests # Sources -%global gh_commit ee88b0cdbe74cf8dd3b54940ff17643c0d6543ca +%global gh_commit 54391c61e4af8078e5b276ab082b6d3c54c9ad64 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project code-unit -%global gh_date 2024-12-12 +%global gh_date 2025-03-19 # Packagist %global pk_vendor sebastian %global pk_project %{gh_project} @@ -26,8 +26,8 @@ %global ns_project CodeUnit Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 3.0.2 -Release: 3%{?dist} +Version: 3.0.3 +Release: 1%{?dist} Summary: Collection of value objects that represent the PHP code units, version %{major} License: BSD-3-Clause @@ -38,8 +38,6 @@ Source1: makesrc.sh BuildArch: noarch BuildRequires: php(language) >= 8.2 -BuildRequires: php-reflection -BuildRequires: php-spl # Autoloader BuildRequires: php-fedora-autoloader-devel %if %{with tests} @@ -52,8 +50,6 @@ BuildRequires: phpunit11 >= 11.5 # "php": ">=8.2" Requires: php(language) >= 8.2 # From phpcompatinfo report for 2.0.0 -Requires: php-reflection -Requires: php-spl # Autoloader Requires: php-composer(fedora/autoloader) @@ -100,6 +96,7 @@ cat << 'EOF' | tee vendor/autoload.php require_once dirname(__DIR__) . '/tests/_fixture/autoload.php'; require_once dirname(__DIR__) . '/tests/_fixture/file_with_multiple_code_units.php'; require_once dirname(__DIR__) . '/tests/_fixture/function.php'; +require_once dirname(__DIR__) . '/tests/_fixture/issue_9.php'; EOF : Run tests @@ -122,6 +119,9 @@ exit $ret %changelog +* Wed Mar 19 2025 Remi Collet - 3.0.3-1 +- update to 3.0.3 + * Tue Feb 4 2025 Remi Collet - 3.0.2-3 - enable test suite diff --git a/sources b/sources index 2a495b4..b33ce52 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-sebastian-code-unit3-3.0.2-ee88b0c.tgz) = 6614511b6487370dd231c6e01911915b143a226e7c6a6bf04606ef5e8de15f7634c5ac099f0b7ee15f5b8e7094681aff6b7d905b4a6cc52f5fc9677987f3b5f8 +SHA512 (php-sebastian-code-unit3-3.0.3-54391c6.tgz) = 65690d6d35d34c319ad6573557b0767059db38b327cbbc3f3a27f20fb7b90742425f455db5806206d27ef1824467b33c05ad3eb7d17a0053a0afd1923986ac1e From 86ae3c4158f99c87c3fc48bb4d03d4a9cd43b63e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 05:32:09 +0000 Subject: [PATCH 4/4] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- php-sebastian-code-unit3.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-sebastian-code-unit3.spec b/php-sebastian-code-unit3.spec index 0565353..934bd21 100644 --- a/php-sebastian-code-unit3.spec +++ b/php-sebastian-code-unit3.spec @@ -27,7 +27,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 3.0.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Collection of value objects that represent the PHP code units, version %{major} License: BSD-3-Clause @@ -119,6 +119,9 @@ exit $ret %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 3.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Wed Mar 19 2025 Remi Collet - 3.0.3-1 - update to 3.0.3