From d134156afb8793fdcbe8c832e9eeb8b78d6b2ce4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 7 Feb 2023 14:56:24 +0100 Subject: cleanup --- php-sebastian-exporter5.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php-sebastian-exporter5.spec b/php-sebastian-exporter5.spec index cc3ab0c..e6ba914 100644 --- a/php-sebastian-exporter5.spec +++ b/php-sebastian-exporter5.spec @@ -102,14 +102,14 @@ cp -pr src %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major} %if %{with tests} %check mkdir vendor -touch vendor/autoload.php +phpab --template fedora --output vendor/autoload.php tests/_fixture/ : Run upstream test suite ret=0 for cmd in php php81 php82; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ - %{_bindir}/phpunit10 --verbose || ret=1 + %{_bindir}/phpunit10 || ret=1 fi done exit $ret -- cgit