From d1248396b993b8f97a6a09d12c4bc78509330ecf Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 23 Aug 2023 12:27:33 +0200 Subject: Enable test suite --- php-sebastian-cli-parser2.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/php-sebastian-cli-parser2.spec b/php-sebastian-cli-parser2.spec index 3ad7edc..dfcfa91 100644 --- a/php-sebastian-cli-parser2.spec +++ b/php-sebastian-cli-parser2.spec @@ -7,8 +7,7 @@ # Please, preserve the changelog entries # -# disabled until phpunit10 available -%bcond_with tests +%bcond_without tests # github %global gh_commit efdc130dbbbb8ef0b545a994fd811725c5282cae @@ -26,8 +25,8 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.0.0 -Release: 1%{?dist} -Summary: Library for parsing CLI options +Release: 3%{?dist} +Summary: Library for parsing CLI options, version %{major} License: BSD-3-Clause URL: https://github.com/%{gh_owner}/%{gh_project} @@ -62,6 +61,8 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version} %description Library for parsing $_SERVER['argv'], extracted from phpunit/phpunit. +This package provides version %{major} of %{pk_vendor}/%{pk_project} library. + Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php @@ -86,7 +87,7 @@ touch vendor/autoload.php : Run upstream test suite ret=0 -for cmd in php php81 php82; do +for cmd in php php81 php82 php83; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ %{_bindir}/phpunit10 || ret=1 @@ -109,6 +110,9 @@ exit $ret %changelog +* Wed Aug 23 2023 Remi Collet - 2.0.0-3 +- Enable test suite + * Fri Feb 3 2023 Remi Collet - 2.0.0-1 - update to 2.0.0 - raise dependency on PHP 8.1 -- cgit