summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-phpunit-php-file-iterator4.spec10
1 files changed, 6 insertions, 4 deletions
diff --git a/php-phpunit-php-file-iterator4.spec b/php-phpunit-php-file-iterator4.spec
index 2673cce..96a34bd 100644
--- a/php-phpunit-php-file-iterator4.spec
+++ b/php-phpunit-php-file-iterator4.spec
@@ -8,8 +8,7 @@
# Please, preserve the changelog entries
#
-# disabled until phpunit10 available
-%bcond_with tests
+%bcond_without tests
%global gh_commit 5647d65443818959172645e7ed999217360654b6
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
@@ -27,7 +26,7 @@
Name: php-%{pk_vendor}-%{pk_project}%{major}
Version: 4.0.2
-Release: 1%{?dist}
+Release: 3%{?dist}
Summary: FilterIterator implementation based on a list of suffixes, version %{major}
License: BSD-3-Clause
@@ -89,7 +88,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
@@ -111,6 +110,9 @@ exit $ret
%changelog
+* Wed Aug 23 2023 Remi Collet <remi@remirepo.net> - 4.0.2-3
+- Enable test suite
+
* Tue May 9 2023 Remi Collet <remi@remirepo.net> - 4.0.2-1
- update to 4.0.2