From bff2a6c7e6e3268baef3d21c8d1ab5b1b5b1b7f8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 10 Feb 2025 11:50:28 +0100 Subject: [PATCH 1/4] enable tests --- php-sebastian-cli-parser4.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/php-sebastian-cli-parser4.spec b/php-sebastian-cli-parser4.spec index 7beaa5d..0ee5cdb 100644 --- a/php-sebastian-cli-parser4.spec +++ b/php-sebastian-cli-parser4.spec @@ -7,8 +7,7 @@ # Please, preserve the changelog entries # -# disabled until phpunit12 available -%bcond_with tests +%bcond_without tests # github %global gh_commit 6d584c727d9114bcdc14c86711cd1cad51778e7c @@ -27,7 +26,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 4.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library for parsing CLI options, version %{major} License: BSD-3-Clause @@ -106,6 +105,9 @@ exit $ret %changelog +* Mon Feb 10 2025 Remi Collet - 4.0.0-2 +- enable test suite + * Fri Feb 7 2025 Remi Collet - 4.0.0-1 - update to 4.0.0 - raise dependency on PHP 8.3 From 08a422548a1e91650b3ea0201befb2712029b30b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 05:31:25 +0000 Subject: [PATCH 2/4] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- php-sebastian-cli-parser4.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-sebastian-cli-parser4.spec b/php-sebastian-cli-parser4.spec index 0ee5cdb..8e2fc68 100644 --- a/php-sebastian-cli-parser4.spec +++ b/php-sebastian-cli-parser4.spec @@ -26,7 +26,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 4.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library for parsing CLI options, version %{major} License: BSD-3-Clause @@ -105,6 +105,9 @@ exit $ret %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 4.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Mon Feb 10 2025 Remi Collet - 4.0.0-2 - enable test suite From eb41f1501de87e910c2fc646249405e68ede9c87 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 15 Sep 2025 07:21:39 +0200 Subject: [PATCH 3/4] v4.2.0 --- .gitignore | 1 + php-sebastian-cli-parser4.spec | 13 ++++++++----- sources | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 8365965..48dce1c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /php-sebastian-cli-parser4-4.0.0-6d584c7.tgz +/php-sebastian-cli-parser4-4.2.0-90f4107.tgz diff --git a/php-sebastian-cli-parser4.spec b/php-sebastian-cli-parser4.spec index 8e2fc68..a4be469 100644 --- a/php-sebastian-cli-parser4.spec +++ b/php-sebastian-cli-parser4.spec @@ -10,11 +10,11 @@ %bcond_without tests # github -%global gh_commit 6d584c727d9114bcdc14c86711cd1cad51778e7c +%global gh_commit 90f41072d220e5c40df6e8635f5dafba2d9d4d04 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project cli-parser -%global gh_date 2025-02-07 +%global gh_date 2025-09-14 # packagist %global pk_vendor sebastian %global pk_project %{gh_project} @@ -25,8 +25,8 @@ %global ns_project CliParser Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 4.0.0 -Release: 3%{?dist} +Version: 4.2.0 +Release: 1%{?dist} Summary: Library for parsing CLI options, version %{major} License: BSD-3-Clause @@ -84,7 +84,7 @@ touch vendor/autoload.php : Run upstream test suite ret=0 -for cmd in php php83 php84; do +for cmd in php php83 php84 php85; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ %{_bindir}/phpunit12 || ret=1 @@ -105,6 +105,9 @@ exit $ret %changelog +* Mon Sep 15 2025 Remi Collet - 4.2.0-1 +- update to 4.2.0 + * Fri Jul 25 2025 Fedora Release Engineering - 4.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild diff --git a/sources b/sources index c21001d..03e809d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-sebastian-cli-parser4-4.0.0-6d584c7.tgz) = f1c2b814bbae3aec4aa7ddcd349b580b548f611943a2e36d5688747b782ecf3d287e3e3f450ac964f33e638993acf49620b5a0c7ba34a29520c4cf6afc8a2c2d +SHA512 (php-sebastian-cli-parser4-4.2.0-90f4107.tgz) = 74bc06069b04091409c1ab11e4fff147e78ab7844fdc94c317ca60af3f6661cc5acf97141675b9cc2f01026f9f5d0040e3977e493d65f2d1c59adb2808504d3d From 2dfbeb71d6900899b4eb11c72bfe1db4ac5f447b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 15 Sep 2025 07:21:39 +0200 Subject: [PATCH 4/4] v4.2.0 (cherry picked from commit eb41f1501de87e910c2fc646249405e68ede9c87) --- .gitignore | 1 + php-sebastian-cli-parser4.spec | 15 +++++++++------ sources | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 8365965..48dce1c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /php-sebastian-cli-parser4-4.0.0-6d584c7.tgz +/php-sebastian-cli-parser4-4.2.0-90f4107.tgz diff --git a/php-sebastian-cli-parser4.spec b/php-sebastian-cli-parser4.spec index 7beaa5d..5af8865 100644 --- a/php-sebastian-cli-parser4.spec +++ b/php-sebastian-cli-parser4.spec @@ -7,15 +7,14 @@ # Please, preserve the changelog entries # -# disabled until phpunit12 available -%bcond_with tests +%bcond_without tests # github -%global gh_commit 6d584c727d9114bcdc14c86711cd1cad51778e7c +%global gh_commit 90f41072d220e5c40df6e8635f5dafba2d9d4d04 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project cli-parser -%global gh_date 2025-02-07 +%global gh_date 2025-09-14 # packagist %global pk_vendor sebastian %global pk_project %{gh_project} @@ -26,7 +25,7 @@ %global ns_project CliParser Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 4.0.0 +Version: 4.2.0 Release: 1%{?dist} Summary: Library for parsing CLI options, version %{major} @@ -85,7 +84,7 @@ touch vendor/autoload.php : Run upstream test suite ret=0 -for cmd in php php83 php84; do +for cmd in php php83 php84 php85; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ %{_bindir}/phpunit12 || ret=1 @@ -106,6 +105,10 @@ exit $ret %changelog +* Mon Sep 15 2025 Remi Collet - 4.2.0-1 +- update to 4.2.0 +- enable test suite + * Fri Feb 7 2025 Remi Collet - 4.0.0-1 - update to 4.0.0 - raise dependency on PHP 8.3 diff --git a/sources b/sources index c21001d..03e809d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-sebastian-cli-parser4-4.0.0-6d584c7.tgz) = f1c2b814bbae3aec4aa7ddcd349b580b548f611943a2e36d5688747b782ecf3d287e3e3f450ac964f33e638993acf49620b5a0c7ba34a29520c4cf6afc8a2c2d +SHA512 (php-sebastian-cli-parser4-4.2.0-90f4107.tgz) = 74bc06069b04091409c1ab11e4fff147e78ab7844fdc94c317ca60af3f6661cc5acf97141675b9cc2f01026f9f5d0040e3977e493d65f2d1c59adb2808504d3d