summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-sebastian-exporter5.spec14
1 files changed, 10 insertions, 4 deletions
diff --git a/php-sebastian-exporter5.spec b/php-sebastian-exporter5.spec
index e6ba914..c4b7d1b 100644
--- a/php-sebastian-exporter5.spec
+++ b/php-sebastian-exporter5.spec
@@ -7,8 +7,7 @@
# Please, preserve the changelog entries
#
-# disabled until phpunit10 available
-%bcond_with tests
+%bcond_without tests
%global gh_commit f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
@@ -27,7 +26,7 @@
Name: php-%{pk_vendor}-%{pk_project}%{major}
Version: 5.0.0
-Release: 1%{?dist}
+Release: 3%{?dist}
Summary: Export PHP variables for visualization, version %{major}
License: BSD-3-Clause
@@ -79,6 +78,10 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
%description
Provides the functionality to export PHP variables for visualization.
+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}
@@ -106,7 +109,7 @@ phpab --template fedora --output vendor/autoload.php tests/_fixture/
: 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
@@ -126,6 +129,9 @@ exit $ret
%changelog
+* Wed Aug 23 2023 Remi Collet <remi@remirepo.net> - 5.0.0-3
+- Enable test suite
+
* Fri Feb 3 2023 Remi Collet <remi@remirepo.net> - 5.0.0-1
- update to 5.0.0
- raise dependency on PHP 8.1