From 188da20ef3d9531be584924e2724e46a5082bd2e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 5 Feb 2024 12:06:56 +0100 Subject: minor cleanups --- php-phpunit-php-file-iterator5.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'php-phpunit-php-file-iterator5.spec') diff --git a/php-phpunit-php-file-iterator5.spec b/php-phpunit-php-file-iterator5.spec index 5e93ebe..0a304ab 100644 --- a/php-phpunit-php-file-iterator5.spec +++ b/php-phpunit-php-file-iterator5.spec @@ -8,6 +8,7 @@ # Please, preserve the changelog entries # +# disabled until phpunit11 available %bcond_with tests %global gh_commit 99e95c94ad9500daca992354fa09d7b99abe2210 @@ -89,10 +90,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