From ce120eac63a4e37bdaf1d73bec75bd39f8755ca8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 5 Feb 2024 12:08:04 +0100 Subject: minor cleanups --- php-phpunit-php-timer7.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/php-phpunit-php-timer7.spec b/php-phpunit-php-timer7.spec index 0423ce9..9ec15f4 100644 --- a/php-phpunit-php-timer7.spec +++ b/php-phpunit-php-timer7.spec @@ -8,6 +8,7 @@ # Please, preserve the changelog entries # +# disabled until phpunit11 available %bcond_with tests %global gh_commit 8a59d9e25720482ee7fcdf296595e08795b84dc5 @@ -88,10 +89,10 @@ touch vendor/autoload.php : Run upstream test suite ret=0 -for cmd in php php81 php82 php83; do +for cmd in php 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 + %{_bindir}/phpunit11 || ret=1 fi done exit $ret -- cgit