summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-08-23 12:14:15 +0200
committerRemi Collet <remi@php.net>2023-08-23 12:14:15 +0200
commitaa06b722fcbc9c849f054969aaeb2d2bf5bd27a3 (patch)
tree0a39616ee4aedd5b6b32360a790fef168c596c43
parent3441b7caad482ef4a3d9308e33cf375a107cb7c4 (diff)
Enable test suiteHEADmaster
-rw-r--r--php-phpunit-php-timer6.spec14
1 files changed, 10 insertions, 4 deletions
diff --git a/php-phpunit-php-timer6.spec b/php-phpunit-php-timer6.spec
index cbd9c2d..c1a8462 100644
--- a/php-phpunit-php-timer6.spec
+++ b/php-phpunit-php-timer6.spec
@@ -8,8 +8,7 @@
# Please, preserve the changelog entries
#
-# disabled until phpunit10 available
-%bcond_with tests
+%bcond_without tests
%global gh_commit e2a2d67966e740530f4a3343fe2e030ffdc1161d
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
@@ -27,7 +26,7 @@
Name: php-%{pk_vendor}-%{pk_project}%{major}
Version: 6.0.0
-Release: 1%{?dist}
+Release: 3%{?dist}
Summary: PHP Utility class for timing, version %{major}
License: BSD-3-Clause
@@ -60,6 +59,10 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
Utility class for timing things, factored out of PHPUnit into a stand-alone
component.
+This package provides version %{major} of %{pk_vendor}/%{pk_project} library.
+
+Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php
+
%prep
%setup -q -n %{gh_project}-%{gh_commit}
@@ -84,7 +87,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
@@ -105,6 +108,9 @@ exit $ret
%changelog
+* Wed Aug 23 2023 Remi Collet <remi@remirepo.net> - 6.0.0-3
+- Enable test suite
+
* Fri Feb 3 2023 Remi Collet <remi@remirepo.net> - 6.0.0-1
- update to 6.0.0
- drop patch merged upstream