diff options
author | Remi Collet <remi@remirepo.net> | 2023-06-19 16:08:43 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-06-19 16:08:43 +0200 |
commit | 46c595e4f3d7ce0d346e2151900c4ec5275f3d29 (patch) | |
tree | 74c2fa8971505b40a23536cdde15f57fcd351524 | |
parent | 5e6c1a81544f7284e7a63c2204df412bd02c46be (diff) |
fix dependencies, from review #2168095
-rw-r--r-- | php-sebastian-object-enumerator5.spec | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/php-sebastian-object-enumerator5.spec b/php-sebastian-object-enumerator5.spec index a6651d8..66520d7 100644 --- a/php-sebastian-object-enumerator5.spec +++ b/php-sebastian-object-enumerator5.spec @@ -11,7 +11,6 @@ %bcond_with tests %global gh_commit 202d0e344a580d7f7d04b3fafce6933e59dae906 -#global gh_date 20150728 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project object-enumerator @@ -26,8 +25,7 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 5.0.0 -%global specrel 1 -Release: %{?gh_date:1%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist} +Release: 2%{?dist} Summary: Traverses array and object to enumerate all referenced objects, version %{major} License: BSD-3-Clause @@ -48,6 +46,7 @@ BuildRequires: (php-composer(sebastian/recursion-context) >= 5.0 with php-c BuildRequires: php-sebastian-object-reflector3 BuildRequires: php-sebastian-recursion-context5 %endif +BuildRequires: php-spl # From composer.json"require-dev": { # "phpunit/phpunit": "^10.0" BuildRequires: phpunit10 @@ -68,7 +67,7 @@ Requires: php-sebastian-object-reflector3 Requires: php-sebastian-recursion-context5 %endif # from phpcompatinfo report for version 5.0.0: -Requires: php-spl +#nothing # Autoloader Requires: php-composer(fedora/autoloader) @@ -79,6 +78,8 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version} Traverses array structures and object graphs to enumerate all referenced objects. +This package provides version %{major} of %{pk_vendor}/%{pk_project} library. + Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php @@ -111,7 +112,7 @@ mkdir vendor : 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 @@ -132,6 +133,9 @@ exit $ret %changelog +* Mon Jun 19 2023 Remi Collet <remi@remirepo.net> - 5.0.0-2 +- fix dependencies, from review #2168095 + * Fri Feb 3 2023 Remi Collet <remi@remirepo.net> - 5.0.0-1 - update to 5.0.0 - raise dependency on PHP 8.1 |