summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-sebastian-object-reflector3.spec16
1 files changed, 11 insertions, 5 deletions
diff --git a/php-sebastian-object-reflector3.spec b/php-sebastian-object-reflector3.spec
index 58dfa3a..4a9f5d1 100644
--- a/php-sebastian-object-reflector3.spec
+++ b/php-sebastian-object-reflector3.spec
@@ -7,8 +7,7 @@
# Please, preserve the changelog entries
#
-# disable until phpunit10 available
-%bcond_with tests
+%bcond_without tests
%global gh_commit 24ed13d98130f0e7122df55d06c5c4942a577957
%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: Allows reflection of object attributes, version %{major}
License: BSD-3-Clause
@@ -46,7 +45,7 @@ BuildRequires: phpunit10
# "php": ">=8.1"
Requires: php(language) >= 8.1
# from phpcompatinfo report for version 2.0.0
-Requires: php-spl
+#nothing
# Autoloader
Requires: php-composer(fedora/autoloader)
@@ -57,6 +56,10 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
Allows reflection of object attributes, including inherited
and non-public ones.
+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}
@@ -82,7 +85,7 @@ EOF
: 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 +107,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