From 8c5b7d9d4f5787e53e7e0bfdcf7e2c9fb2f02f77 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 23 Aug 2023 12:00:45 +0200 Subject: [PATCH] enable test suite --- php-phpunit-php-text-template3.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/php-phpunit-php-text-template3.spec b/php-phpunit-php-text-template3.spec index 211bf50..70c7405 100644 --- a/php-phpunit-php-text-template3.spec +++ b/php-phpunit-php-text-template3.spec @@ -7,8 +7,7 @@ # Please, preserve the changelog entries # -# disabled until phpunit10 available -%bcond_with tests +%bcond_without tests %global gh_commit 9f3d3709577a527025f55bcf0f7ab8052c8bb37d %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) @@ -25,7 +24,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{ver_major} Version: 3.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Simple template engine, version %{ver_major} License: BSD-3-Clause @@ -82,7 +81,7 @@ mkdir vendor : 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}%{ver_major}/autoload.php \ %{_bindir}/phpunit10 || ret=1 @@ -101,6 +100,9 @@ exit $ret %changelog +* Wed Aug 23 2023 Remi Collet - 3.0.0-3 +- Enable test suite + * Fri Jul 21 2023 Fedora Release Engineering - 3.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild