summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-sebastian-environment6.spec14
1 files changed, 10 insertions, 4 deletions
diff --git a/php-sebastian-environment6.spec b/php-sebastian-environment6.spec
index 29c1c3d..2ee3fbc 100644
--- a/php-sebastian-environment6.spec
+++ b/php-sebastian-environment6.spec
@@ -7,8 +7,7 @@
# Please, preserve the changelog entries
#
-# disabled until phpunit10 available
-%bcond_with tests
+%bcond_without tests
# Sources
%global gh_commit 43c751b41d74f96cbbd4e07b7aec9675651e2951
@@ -26,7 +25,7 @@
Name: php-%{pk_vendor}-%{pk_project}%{major}
Version: 6.0.1
-Release: 1%{?dist}
+Release: 3%{?dist}
Summary: Handle HHVM/PHP environments, version %{major}
License: BSD-3-Clause
@@ -63,6 +62,10 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
This component provides functionality that helps writing PHP code that
has runtime-specific (PHP / HHVM) execution paths.
+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}
@@ -88,7 +91,7 @@ touch vendor/autoload.php
: Run tests
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 \
-d pcov.enabled=1 \
@@ -109,6 +112,9 @@ exit $ret
%changelog
+* Wed Aug 23 2023 Remi Collet <remi@remirepo.net> - 6.0.1-3
+- Enable test suite
+
* Tue Apr 11 2023 Remi Collet <remi@remirepo.net> - 6.0.1-1
- update to 6.0.1