diff options
| -rw-r--r-- | composer.json | 6 | ||||
| -rw-r--r-- | php-sebastian-recursion-context5.spec | 30 |
2 files changed, 24 insertions, 12 deletions
diff --git a/composer.json b/composer.json index 3a00b68..b3a827f 100644 --- a/composer.json +++ b/composer.json @@ -17,6 +17,10 @@ "email": "aharvey@php.net" } ], + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "security": "https://github.com/sebastianbergmann/recursion-context/security/policy" + }, "prefer-stable": true, "config": { "platform": { @@ -29,7 +33,7 @@ "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.5" }, "autoload": { "classmap": [ diff --git a/php-sebastian-recursion-context5.spec b/php-sebastian-recursion-context5.spec index 386d04e..dd655e4 100644 --- a/php-sebastian-recursion-context5.spec +++ b/php-sebastian-recursion-context5.spec @@ -1,16 +1,15 @@ # remirepo/fedora spec file for php-sebastian-recursion-context5 # -# Copyright (c) 2015-2023 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2015-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # -# disable until phpunit10 available -%bcond_with tests +%bcond_without tests -%global gh_commit 05909fb5bc7df4c52992396d0116aed689f93712 +%global gh_commit 47e34210757a2f37a97dcd207d032e1b01e64c7a %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project recursion-context @@ -24,7 +23,7 @@ %global php_home %{_datadir}/php Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 5.0.0 +Version: 5.0.1 Release: 1%{?dist} Summary: Recursively process PHP variables, version %{major} @@ -38,15 +37,14 @@ BuildRequires: php(language) >= 8.1 BuildRequires: php-fedora-autoloader-devel %if %{with tests} # from composer.json, "require-dev": { -# "phpunit/phpunit": "^10.0" -BuildRequires: phpunit10 +# "phpunit/phpunit": "^10.5" +BuildRequires: phpunit10 >= 10.5 %endif # from composer.json # "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) @@ -56,6 +54,10 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version} %description Provides functionality to recursively process PHP variables. +This package provides version %{major} of %{pk_vendor}/%{pk_project} library. + +Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php + %prep %setup -q -n %{gh_project}-%{gh_commit} @@ -78,7 +80,7 @@ touch vendor/autoload.php : Run upstream test suite ret=0 -for cmd in php php81 php82; do +for cmd in php php81 php82 php83 php84 php85; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ %{_bindir}/phpunit10 || ret=1 @@ -100,6 +102,12 @@ exit $ret %changelog +* Mon Aug 11 2025 Remi Collet <remi@remirepo.net> - 5.0.1-1 +- update to 5.0.1 + +* Wed Aug 23 2023 Remi Collet <remi@remirepo.net> - 5.0.0-3 +- Enable test suite + * Fri Feb 3 2023 Remi Collet <remi@remirepo.net> - 5.0.0-1 - update to 5.0.0 - raise dependency on PHP 8.1 |
