From 64472e1a38d0f35720bd7afb988bb10ba2d5b280 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 21 Apr 2023 11:53:58 +0200 Subject: [PATCH 01/10] use SPDX license ID --- php-sebastian-complexity.spec | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/php-sebastian-complexity.spec b/php-sebastian-complexity.spec index 0701757..d12a0a4 100644 --- a/php-sebastian-complexity.spec +++ b/php-sebastian-complexity.spec @@ -1,7 +1,7 @@ # remirepo/fedora spec file for php-sebastian-complexity # -# Copyright (c) 2020 Remi Collet -# License: CC-BY-SA +# Copyright (c) 2020-2023 Remi Collet +# License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries @@ -24,10 +24,10 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.0.2 -Release: 6%{?dist} -Summary: Calculating the complexity of PHP code units +Release: 7%{?dist} +Summary: Calculating the complexity of PHP code units, version 2 -License: BSD +License: BSD-3-Clause URL: https://github.com/%{gh_owner}/%{gh_project} # git snapshot to retrieve test suite Source0: %{name}-%{version}-%{gh_short}.tgz @@ -61,6 +61,10 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version} %description Library for calculating the complexity of PHP code units. +This package provides version 2 of %{pk_vendor}/%{pk_project} library. + +Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php + %prep %setup -q -n %{gh_project}-%{gh_commit} @@ -89,7 +93,7 @@ touch vendor/autoload.php : Run upstream test suite ret=0 -for cmd in php php73 php74 php80; do +for cmd in php php80 php81 php82; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ %{_bindir}/phpunit9 --verbose || ret=1 @@ -110,6 +114,9 @@ exit $ret %changelog +* Fri Apr 21 2023 Remi Collet - 2.0.2-7 +- use SPDX License id + * Fri Jan 20 2023 Fedora Release Engineering - 2.0.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 53c8c413182a3ebfca25e70c221fcd38bdb093e3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 05:11:22 +0000 Subject: [PATCH 02/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-sebastian-complexity.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-sebastian-complexity.spec b/php-sebastian-complexity.spec index d12a0a4..733d893 100644 --- a/php-sebastian-complexity.spec +++ b/php-sebastian-complexity.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.0.2 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Calculating the complexity of PHP code units, version 2 License: BSD-3-Clause @@ -114,6 +114,9 @@ exit $ret %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 2.0.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Fri Apr 21 2023 Remi Collet - 2.0.2-7 - use SPDX License id From 62e2c7d8e662e9c49bf0a81c01672662981c8c8f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 22 Dec 2023 10:15:36 +0100 Subject: [PATCH 03/10] update to 2.0.3 raise dependency on nikic/php-parser 4.18 and allow 5.0 --- .gitignore | 1 + php-sebastian-complexity.spec | 21 ++++++++++++++------- sources | 2 +- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index d3d6059..9ef9454 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /php-sebastian-complexity-2.0.0-33fcd6a.tgz /php-sebastian-complexity-2.0.1-ba8cc2d.tgz /php-sebastian-complexity-2.0.2-739b35e.tgz +/php-sebastian-complexity-2.0.3-25f207c.tgz diff --git a/php-sebastian-complexity.spec b/php-sebastian-complexity.spec index 733d893..2b28476 100644 --- a/php-sebastian-complexity.spec +++ b/php-sebastian-complexity.spec @@ -9,7 +9,7 @@ %bcond_without tests # github -%global gh_commit 739b35e53379900cc9ac327b2147867b8b6efd88 +%global gh_commit 25f207c40d62b8b7aa32f5ab026c53561964053a %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project complexity @@ -23,8 +23,8 @@ %global ns_project Complexity Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 2.0.2 -Release: 8%{?dist} +Version: 2.0.3 +Release: 1%{?dist} Summary: Calculating the complexity of PHP code units, version 2 License: BSD-3-Clause @@ -35,7 +35,7 @@ Source1: makesrc.sh BuildArch: noarch BuildRequires: php(language) >= 7.3 -BuildRequires: (php-composer(nikic/php-parser) >= 4.7 with php-composer(nikic/php-parser) < 5) +BuildRequires: (php-composer(nikic/php-parser) >= 4.18 with php-composer(nikic/php-parser) < 6) BuildRequires: php-spl # Autoloader BuildRequires: php-fedora-autoloader-devel >= 1.0.0 @@ -47,9 +47,9 @@ BuildRequires: phpunit9 >= 9.3 # from composer.json, "require": { # "php": ">=7.3", -# "nikic/php-parser": "^4.7" +# "nikic/php-parser": "^4.18 || ^5.0" Requires: php(language) >= 7.3 -Requires: (php-composer(nikic/php-parser) >= 4.7 with php-composer(nikic/php-parser) < 5) +Requires: (php-composer(nikic/php-parser) >= 4.18 with php-composer(nikic/php-parser) < 6) # from phpcompatinfo report for version 2.0.0 Requires: php-spl # Autoloader @@ -76,7 +76,10 @@ phpab --template fedora --output src/autoload.php src cat < - 2.0.3-1 +- update to 2.0.3 +- raise dependency on nikic/php-parser 4.18 and allow 5.0 + * Fri Jul 21 2023 Fedora Release Engineering - 2.0.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index cd003af..33aeadc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-sebastian-complexity-2.0.2-739b35e.tgz) = e023347d3d562db234ed3f1d51acaa616d525d7d9f2cf498e52458843870dac6b572bdf57605e40ddef5c4f690a8c6d7903c11ecffffc9cf1b9793a5414d095f +SHA512 (php-sebastian-complexity-2.0.3-25f207c.tgz) = 9905a84ed6d45092533d3ebf0eb51b8deb5d7174c61ef45a6efa4ea690a042716a46a58c8c7c3b90b321b873d713dc3224a49677b2298c40caa2feb771a21418 From 3a91c96198c591be47e33db6415761a70567ed2e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 22 Dec 2023 10:15:36 +0100 Subject: [PATCH 04/10] update to 2.0.3 raise dependency on nikic/php-parser 4.18 and allow 5.0 (cherry picked from commit 62e2c7d8e662e9c49bf0a81c01672662981c8c8f) --- .gitignore | 1 + php-sebastian-complexity.spec | 36 +++++++++++++++++++++++------------ sources | 2 +- 3 files changed, 26 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index d3d6059..9ef9454 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /php-sebastian-complexity-2.0.0-33fcd6a.tgz /php-sebastian-complexity-2.0.1-ba8cc2d.tgz /php-sebastian-complexity-2.0.2-739b35e.tgz +/php-sebastian-complexity-2.0.3-25f207c.tgz diff --git a/php-sebastian-complexity.spec b/php-sebastian-complexity.spec index 0701757..8df7746 100644 --- a/php-sebastian-complexity.spec +++ b/php-sebastian-complexity.spec @@ -1,7 +1,7 @@ # remirepo/fedora spec file for php-sebastian-complexity # -# Copyright (c) 2020 Remi Collet -# License: CC-BY-SA +# Copyright (c) 2020-2023 Remi Collet +# License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries @@ -9,7 +9,7 @@ %bcond_without tests # github -%global gh_commit 739b35e53379900cc9ac327b2147867b8b6efd88 +%global gh_commit 25f207c40d62b8b7aa32f5ab026c53561964053a %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project complexity @@ -23,11 +23,11 @@ %global ns_project Complexity Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 2.0.2 -Release: 6%{?dist} -Summary: Calculating the complexity of PHP code units +Version: 2.0.3 +Release: 1%{?dist} +Summary: Calculating the complexity of PHP code units, version 2 -License: BSD +License: BSD-3-Clause URL: https://github.com/%{gh_owner}/%{gh_project} # git snapshot to retrieve test suite Source0: %{name}-%{version}-%{gh_short}.tgz @@ -35,7 +35,7 @@ Source1: makesrc.sh BuildArch: noarch BuildRequires: php(language) >= 7.3 -BuildRequires: (php-composer(nikic/php-parser) >= 4.7 with php-composer(nikic/php-parser) < 5) +BuildRequires: (php-composer(nikic/php-parser) >= 4.18 with php-composer(nikic/php-parser) < 6) BuildRequires: php-spl # Autoloader BuildRequires: php-fedora-autoloader-devel >= 1.0.0 @@ -47,9 +47,9 @@ BuildRequires: phpunit9 >= 9.3 # from composer.json, "require": { # "php": ">=7.3", -# "nikic/php-parser": "^4.7" +# "nikic/php-parser": "^4.18 || ^5.0" Requires: php(language) >= 7.3 -Requires: (php-composer(nikic/php-parser) >= 4.7 with php-composer(nikic/php-parser) < 5) +Requires: (php-composer(nikic/php-parser) >= 4.18 with php-composer(nikic/php-parser) < 6) # from phpcompatinfo report for version 2.0.0 Requires: php-spl # Autoloader @@ -61,6 +61,10 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version} %description Library for calculating the complexity of PHP code units. +This package provides version 2 of %{pk_vendor}/%{pk_project} library. + +Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php + %prep %setup -q -n %{gh_project}-%{gh_commit} @@ -72,7 +76,10 @@ phpab --template fedora --output src/autoload.php src cat < - 2.0.3-1 +- update to 2.0.3 +- raise dependency on nikic/php-parser 4.18 and allow 5.0 +- use SPDX License id + * Fri Jan 20 2023 Fedora Release Engineering - 2.0.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index cd003af..33aeadc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-sebastian-complexity-2.0.2-739b35e.tgz) = e023347d3d562db234ed3f1d51acaa616d525d7d9f2cf498e52458843870dac6b572bdf57605e40ddef5c4f690a8c6d7903c11ecffffc9cf1b9793a5414d095f +SHA512 (php-sebastian-complexity-2.0.3-25f207c.tgz) = 9905a84ed6d45092533d3ebf0eb51b8deb5d7174c61ef45a6efa4ea690a042716a46a58c8c7c3b90b321b873d713dc3224a49677b2298c40caa2feb771a21418 From 492bf0f380a0f3b72be4ab6966c3d53a0995978d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 21:25:55 +0000 Subject: [PATCH 05/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-sebastian-complexity.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-sebastian-complexity.spec b/php-sebastian-complexity.spec index 2b28476..a6e6f84 100644 --- a/php-sebastian-complexity.spec +++ b/php-sebastian-complexity.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.0.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Calculating the complexity of PHP code units, version 2 License: BSD-3-Clause @@ -117,6 +117,9 @@ exit $ret %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 2.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Dec 22 2023 Remi Collet - 2.0.3-1 - update to 2.0.3 - raise dependency on nikic/php-parser 4.18 and allow 5.0 From 00d54ebdeaab0346c0eadbdf2e4cb56d332814f0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 23:13:43 +0000 Subject: [PATCH 06/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-sebastian-complexity.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-sebastian-complexity.spec b/php-sebastian-complexity.spec index a6e6f84..0c00383 100644 --- a/php-sebastian-complexity.spec +++ b/php-sebastian-complexity.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.0.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Calculating the complexity of PHP code units, version 2 License: BSD-3-Clause @@ -117,6 +117,9 @@ exit $ret %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 2.0.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 2.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From b369dd1143ce470cc3fe010ab1b6b4fb68e1c041 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 29 Jan 2024 11:07:35 +0000 Subject: [PATCH 07/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-sebastian-complexity.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-sebastian-complexity.spec b/php-sebastian-complexity.spec index 0c00383..cdecfb0 100644 --- a/php-sebastian-complexity.spec +++ b/php-sebastian-complexity.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.0.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Calculating the complexity of PHP code units, version 2 License: BSD-3-Clause @@ -117,6 +117,9 @@ exit $ret %changelog +* Mon Jan 29 2024 Fedora Release Engineering - 2.0.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Jan 25 2024 Fedora Release Engineering - 2.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From dbaf7272c9cb47557f96c52d9175dabd56152e75 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 07:27:48 +0000 Subject: [PATCH 08/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- php-sebastian-complexity.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-sebastian-complexity.spec b/php-sebastian-complexity.spec index cdecfb0..ea7da59 100644 --- a/php-sebastian-complexity.spec +++ b/php-sebastian-complexity.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.0.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Calculating the complexity of PHP code units, version 2 License: BSD-3-Clause @@ -117,6 +117,9 @@ exit $ret %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 2.0.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Mon Jan 29 2024 Fedora Release Engineering - 2.0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 84f88448dce0d54b9ffcefc9dfbbc000b61079c0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 09:43:46 +0000 Subject: [PATCH 09/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- php-sebastian-complexity.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-sebastian-complexity.spec b/php-sebastian-complexity.spec index ea7da59..853c9f9 100644 --- a/php-sebastian-complexity.spec +++ b/php-sebastian-complexity.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.0.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Calculating the complexity of PHP code units, version 2 License: BSD-3-Clause @@ -117,6 +117,9 @@ exit $ret %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 2.0.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Fri Jul 19 2024 Fedora Release Engineering - 2.0.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 8060e0d78f4099f8d252c07df633cd14e1bbaacc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 05:32:45 +0000 Subject: [PATCH 10/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- php-sebastian-complexity.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-sebastian-complexity.spec b/php-sebastian-complexity.spec index 853c9f9..067b511 100644 --- a/php-sebastian-complexity.spec +++ b/php-sebastian-complexity.spec @@ -24,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.0.3 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Calculating the complexity of PHP code units, version 2 License: BSD-3-Clause @@ -117,6 +117,9 @@ exit $ret %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 2.0.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sat Jan 18 2025 Fedora Release Engineering - 2.0.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild