diff options
Diffstat (limited to 'php-phpunit-php-timer9.spec')
| -rw-r--r-- | php-phpunit-php-timer9.spec | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/php-phpunit-php-timer9.spec b/php-phpunit-php-timer9.spec index d0334b8..13889ee 100644 --- a/php-phpunit-php-timer9.spec +++ b/php-phpunit-php-timer9.spec @@ -8,13 +8,13 @@ # Please, preserve the changelog entries # -%bcond_without tests +%bcond_with tests -%global gh_commit f258ce36aa457f3aa3339f9ed4c81fc66dc8c2cc +%global gh_commit a0e12065831f6ab0d83120dc61513eb8d9a966f6 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project php-timer -%global gh_date 2025-02-07 +%global gh_date 2026-02-06 # Packagist %global pk_vendor phpunit %global pk_project %{gh_project} @@ -22,12 +22,12 @@ %global ns_vendor SebastianBergmann %global ns_project Timer -%global major 8 +%global major 9 %global php_home %{_datadir}/php Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 8.0.0 -Release: 2%{?dist} +Version: 9.0.0 +Release: 1%{?dist} Summary: PHP Utility class for timing, version %{major} License: BSD-3-Clause @@ -37,17 +37,17 @@ Source0: %{name}-%{version}-%{gh_short}.tgz Source1: makesrc.sh BuildArch: noarch -BuildRequires: php(language) >= 8.3 +BuildRequires: php(language) >= 8.4.1 BuildRequires: php-fedora-autoloader-devel %if %{with tests} # From composer.json"require-dev": { -# "phpunit/phpunit": "^12.0" -BuildRequires: phpunit12 +# "phpunit/phpunit": "^13.0" +BuildRequires: phpunit13 %endif # From composer.json -# "php": ">=8.3" -Requires: php(language) >= 8.3 +# "php": ">=8.4" +Requires: php(language) >= 8.4 # From phpcompatinfo report for version 6.0.0 # Autoloader Requires: php-composer(fedora/autoloader) @@ -87,10 +87,10 @@ touch vendor/autoload.php : Run upstream test suite ret=0 -for cmd in php php83 php84; do +for cmd in php php84 php85; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ - %{_bindir}/phpunit12 || ret=1 + %{_bindir}/phpunit13 || ret=1 fi done exit $ret @@ -106,6 +106,12 @@ exit $ret %changelog +* Fri Feb 6 2026 Remi Collet <remi@remirepo.net> - 9.0.0-1 +- update to 9.0.0 +- raise dependency on PHP 8.4 +- rename to php-phpunit-php-timer9 +- move to /usr/share/php/SebastianBergmann/Timer9 + * Mon Feb 10 2025 Remi Collet <remi@remirepo.net> - 8.0.0-2 - enable test suite |
