diff options
author | Remi Collet <remi@remirepo.net> | 2023-02-03 11:29:34 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-02-03 11:29:34 +0100 |
commit | dbf389b36455471bdcb00b010d58b832416211a5 (patch) | |
tree | d55d7cd926f84572b0cad7d76d98237f9947c38f | |
parent | 0aab76aac5196e9c7d4c74af466b414f3ba45b18 (diff) |
update to 5.0.0
raise dependency on PHP 8.1
rename to php-sebastian-recursion-context5
move to /usr/share/php/SebastianBergmann/RecursionContext5
-rw-r--r-- | composer.json | 8 | ||||
-rw-r--r-- | php-sebastian-recursion-context5.spec | 33 |
2 files changed, 24 insertions, 17 deletions
diff --git a/composer.json b/composer.json index cbd39f7..3a00b68 100644 --- a/composer.json +++ b/composer.json @@ -20,16 +20,16 @@ "prefer-stable": true, "config": { "platform": { - "php": "7.3.0" + "php": "8.1.0" }, "optimize-autoloader": true, "sort-packages": true }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "autoload": { "classmap": [ @@ -38,7 +38,7 @@ }, "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "5.0-dev" } } } diff --git a/php-sebastian-recursion-context5.spec b/php-sebastian-recursion-context5.spec index ee560a6..0af6ec2 100644 --- a/php-sebastian-recursion-context5.spec +++ b/php-sebastian-recursion-context5.spec @@ -1,4 +1,4 @@ -# remirepo/fedora spec file for php-sebastian-recursion-context4 +# remirepo/fedora spec file for php-sebastian-recursion-context5 # # Copyright (c) 2015-2023 Remi Collet # License: CC-BY-SA-4.0 @@ -7,9 +7,10 @@ # Please, preserve the changelog entries # -%bcond_without tests +# disable until phpunit10 available +%bcond_with tests -%global gh_commit e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1 +%global gh_commit 05909fb5bc7df4c52992396d0116aed689f93712 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project recursion-context @@ -19,11 +20,11 @@ # Namespace %global ns_vendor SebastianBergmann %global ns_project RecursionContext -%global major 4 +%global major 5 %global php_home %{_datadir}/php Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 4.0.5 +Version: 5.0.0 Release: 1%{?dist} Summary: Recursively process PHP variables, version %{major} @@ -33,18 +34,18 @@ Source0: %{name}-%{version}-%{gh_short}.tgz Source1: makesrc.sh BuildArch: noarch -BuildRequires: php(language) >= 7.3 +BuildRequires: php(language) >= 8.1 BuildRequires: php-fedora-autoloader-devel %if %{with tests} # from composer.json, "require-dev": { -# "phpunit/phpunit": "^9.3" -BuildRequires: phpunit9 >= 9.3 +# "phpunit/phpunit": "^10.0" +BuildRequires: phpunit10 %endif # from composer.json -# "php": ">=7.3" -Requires: php(language) >= 7.3 -# from phpcompatinfo report for version 4.0.0 +# "php": ">=8.1" +Requires: php(language) >= 8.1 +# from phpcompatinfo report for version 5.0.0 Requires: php-spl # Autoloader Requires: php-composer(fedora/autoloader) @@ -77,10 +78,10 @@ touch vendor/autoload.php : Run upstream test suite ret=0 -for cmd in php php80 php81 php82; do +for cmd in php php81 php82; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ - %{_bindir}/phpunit9 --verbose || ret=1 + %{_bindir}/phpunit10 --verbose || ret=1 fi done exit $ret @@ -99,6 +100,12 @@ exit $ret %changelog +* Fri Feb 3 2023 Remi Collet <remi@remirepo.net> - 5.0.0-1 +- update to 5.0.0 +- raise dependency on PHP 8.1 +- rename to php-sebastian-recursion-context5 +- move to /usr/share/php/SebastianBergmann/RecursionContext5 + * Fri Feb 3 2023 Remi Collet <remi@remirepo.net> - 4.0.5-1 - update to 4.0.5 |