From 0a5631dc6e3abb4943d96fc42d300f6fb8983078 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 3 Jul 2024 14:06:48 +0200 Subject: update to 6.0.1 --- php-sebastian-object-enumerator6.spec | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) (limited to 'php-sebastian-object-enumerator6.spec') diff --git a/php-sebastian-object-enumerator6.spec b/php-sebastian-object-enumerator6.spec index 020e2b3..1a357bd 100644 --- a/php-sebastian-object-enumerator6.spec +++ b/php-sebastian-object-enumerator6.spec @@ -10,11 +10,11 @@ # disabled until phpunit11 available %bcond_with tests -%global gh_commit f75f6c460da0bbd9668f43a3dde0ec0ba7faa678 +%global gh_commit f5b498e631a74204185071eb41f33f38d64608aa %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project object-enumerator -%global gh_date 2024-02-02 +%global gh_date 2024-07-03 # Packagist %global pk_vendor sebastian %global pk_project %{gh_project} @@ -25,12 +25,13 @@ %global php_home %{_datadir}/php Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 6.0.0 +Version: 6.0.1 Release: 1%{?dist} Summary: Traverses array and object to enumerate all referenced objects, version %{major} License: BSD-3-Clause URL: https://github.com/%{gh_owner}/%{gh_project} +# run makesrc.sh to create a git snapshot with test suite Source0: %{name}-%{version}-%{gh_short}.tgz Source1: makesrc.sh @@ -38,15 +39,8 @@ BuildArch: noarch BuildRequires: php(language) >= 8.2 BuildRequires: php-fedora-autoloader-devel %if %{with tests} -# remirepo:1 -%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(%{pk_vendor}/object-reflector) >= 4.0 with php-composer(%{pk_vendor}/object-reflector) < 5) BuildRequires: (php-composer(sebastian/recursion-context) >= 6.0 with php-composer(sebastian/recursion-context) < 7) -# remirepo:4 -%else -BuildRequires: php-sebastian-object-reflector4 -BuildRequires: php-sebastian-recursion-context6 -%endif BuildRequires: php-spl # From composer.json"require-dev": { # "phpunit/phpunit": "^11.0" @@ -58,15 +52,8 @@ BuildRequires: phpunit11 # "sebastian/object-reflector": "^4.0", # "sebastian/recursion-context": "^6.0" Requires: php(language) >= 8.2 -# remirepo:1 -%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(%{pk_vendor}/object-reflector) >= 4.0 with php-composer(%{pk_vendor}/object-reflector) < 5) Requires: (php-composer(sebastian/recursion-context) >= 6.0 with php-composer(sebastian/recursion-context) < 7) -# remirepo:4 -%else -Requires: php-sebastian-object-reflector4 -Requires: php-sebastian-recursion-context6 -%endif # from phpcompatinfo report for version 5.0.0: #nothing # Autoloader @@ -113,7 +100,7 @@ mkdir vendor : Run upstream test suite ret=0 -for cmd in php php82 php83; do +for cmd in php php82 php83 php84; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ %{_bindir}/phpunit11 || ret=1 @@ -126,14 +113,15 @@ exit $ret %files -# remirepo:1 -%{!?_licensedir:%global license %%doc} %license LICENSE %doc README.md composer.json %{php_home}/%{ns_vendor}/%{ns_project}%{major} %changelog +* Wed Jul 3 2024 Remi Collet - 6.0.1-1 +- update to 6.0.1 + * Mon Feb 5 2024 Remi Collet - 6.0.0-1 - update to 6.0.0 - raise dependency on PHP 8.2 -- cgit