summaryrefslogtreecommitdiffstats
path: root/php-sebastian-recursion-context5.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-sebastian-recursion-context5.spec')
-rw-r--r--php-sebastian-recursion-context5.spec14
1 files changed, 10 insertions, 4 deletions
diff --git a/php-sebastian-recursion-context5.spec b/php-sebastian-recursion-context5.spec
index 386d04e..3022933 100644
--- a/php-sebastian-recursion-context5.spec
+++ b/php-sebastian-recursion-context5.spec
@@ -7,8 +7,7 @@
# Please, preserve the changelog entries
#
-# disable until phpunit10 available
-%bcond_with tests
+%bcond_without tests
%global gh_commit 05909fb5bc7df4c52992396d0116aed689f93712
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
@@ -25,7 +24,7 @@
Name: php-%{pk_vendor}-%{pk_project}%{major}
Version: 5.0.0
-Release: 1%{?dist}
+Release: 3%{?dist}
Summary: Recursively process PHP variables, version %{major}
License: BSD-3-Clause
@@ -56,6 +55,10 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
%description
Provides functionality to recursively process PHP variables.
+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}
@@ -78,7 +81,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
@@ -100,6 +103,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