summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-sebastian-code-unit-reverse-lookup3.spec12
1 files changed, 8 insertions, 4 deletions
diff --git a/php-sebastian-code-unit-reverse-lookup3.spec b/php-sebastian-code-unit-reverse-lookup3.spec
index 0d12e61..2384c84 100644
--- a/php-sebastian-code-unit-reverse-lookup3.spec
+++ b/php-sebastian-code-unit-reverse-lookup3.spec
@@ -7,8 +7,7 @@
# Please, preserve the changelog entries
#
-# disabled until phpunit10 available
-%bcond_with tests
+%bcond_without tests
%global gh_commit 5e3a687f7d8ae33fb362c5c0743794bbb2420a1d
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
@@ -25,7 +24,7 @@
Name: php-%{pk_vendor}-%{pk_project}%{major}
Version: 3.0.0
-Release: 1%{?dist}
+Release: 3%{?dist}
Summary: Looks up which function or method a line of code belongs to, version %{major}
License: BSD-3-Clause
@@ -57,6 +56,8 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
%description
Looks up which function or method a line of code belongs to.
+This package provides version %{major} of %{pk_vendor}/%{pk_project} library.
+
Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php
@@ -81,7 +82,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
@@ -104,6 +105,9 @@ exit $ret
%changelog
+* Wed Aug 23 2023 Remi Collet <remi@remirepo.net> - 3.0.0-3
+- Enable test suite
+
* Fri Feb 3 2023 Remi Collet <remi@remirepo.net> - 3.0.0-1
- update to 3.0.0
- raise dependency on PHP 8.1