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