summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-08-23 14:38:26 +0200
committerRemi Collet <remi@php.net>2023-08-23 14:38:26 +0200
commit1c2e0d47860e8256e24c49a47a2c4d13a5283a1c (patch)
tree3390d4b67b7f897b2e19a8b2e4d0a17de5d7170e
parent65dad571b3b5f2f9324000ce62269c1246557d38 (diff)
Enable test suite
-rw-r--r--php-sebastian-diff5.spec10
1 files changed, 6 insertions, 4 deletions
diff --git a/php-sebastian-diff5.spec b/php-sebastian-diff5.spec
index 114ad25..ba76b9f 100644
--- a/php-sebastian-diff5.spec
+++ b/php-sebastian-diff5.spec
@@ -7,8 +7,7 @@
# Please, preserve the changelog entries
#
-# disabled until phpunit10 available
-%bcond_with tests
+%bcond_without tests
%global gh_commit 912dc2fbe3e3c1e7873313cc801b100b6c68c87b
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
@@ -26,7 +25,7 @@
Name: php-%{pk_vendor}-%{pk_project}%{major}
Version: 5.0.3
-Release: 1%{?dist}
+Release: 3%{?dist}
Summary: Diff implementation, version %{major}
License: BSD-3-Clause
@@ -97,7 +96,7 @@ rm tests/Utils/UnifiedDiffAssertTraitIntegrationTest.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
@@ -120,6 +119,9 @@ exit $ret
%changelog
+* Wed Aug 23 2023 Remi Collet <remi@remirepo.net> - 5.0.3-3
+- Enable test suite
+
* Tue May 2 2023 Remi Collet <remi@remirepo.net> - 5.0.3-1
- update to 5.0.3