diff options
-rw-r--r-- | php-sebastian-global-state7.spec | 28 |
1 files changed, 8 insertions, 20 deletions
diff --git a/php-sebastian-global-state7.spec b/php-sebastian-global-state7.spec index e425cbb..80362be 100644 --- a/php-sebastian-global-state7.spec +++ b/php-sebastian-global-state7.spec @@ -10,11 +10,11 @@ # disabled until phpunit11 available %bcond_with tests -%global gh_commit c3a307e832f2e69c7ef869e31fc644fde0e7cb3e +%global gh_commit 3be331570a721f9a4b5917f4209773de17f747d7 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project global-state -%global gh_date 2024-03-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: 7.0.1 +Version: 7.0.2 Release: 1%{?dist} Summary: Snapshotting of global state, 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 @@ -41,15 +42,8 @@ BuildRequires: php-spl # Autoloader BuildRequires: php-fedora-autoloader-devel >= 1.0.0 %if %{with tests} -# remirepo:1 -%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(sebastian/object-reflector) >= 4.0 with php-composer(sebastian/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 # from composer.json, "require-dev": { # "ext-dom": "*", # "phpunit/phpunit": "^10.0" @@ -62,15 +56,8 @@ BuildRequires: phpunit10 # "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(sebastian/object-reflector) >= 4.0 with php-composer(sebastian/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 6.0.0 Requires: php-reflection Requires: php-spl @@ -123,7 +110,7 @@ EOF : 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 \ @@ -138,8 +125,6 @@ exit $ret %files -# remirepo:1 -%{!?_licensedir:%global license %%doc} %license LICENSE %doc README.md %doc composer.json @@ -147,6 +132,9 @@ exit $ret %changelog +* Wed Jul 3 2024 Remi Collet <remi@remirepo.net> - 7.0.2-1 +- update to 7.0.2 + * Tue Mar 5 2024 Remi Collet <remi@remirepo.net> - 7.0.1-1 - update to 7.0.1 |