From e7175f2862dbfecdbb83307e6607cdae4cd4fc11 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 23 Aug 2023 12:27:12 +0200 Subject: [PATCH] enable test suite --- php-sebastian-cli-parser2.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/php-sebastian-cli-parser2.spec b/php-sebastian-cli-parser2.spec index 7ff32e4..59f3c26 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,7 +25,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library for parsing CLI options, version %{major} License: BSD-3-Clause @@ -88,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 +108,9 @@ exit $ret %changelog +* Wed Aug 23 2023 Remi Collet - 2.0.0-3 +- Enable test suite + * Fri Jul 21 2023 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild