diff options
-rw-r--r-- | 31933c1e9e455d4c039cbbc4daf0bee85691729b.patch | 22 | ||||
-rw-r--r-- | php-sebastian-recursion-context7.spec | 16 |
2 files changed, 8 insertions, 30 deletions
diff --git a/31933c1e9e455d4c039cbbc4daf0bee85691729b.patch b/31933c1e9e455d4c039cbbc4daf0bee85691729b.patch deleted file mode 100644 index 9759f92..0000000 --- a/31933c1e9e455d4c039cbbc4daf0bee85691729b.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 31933c1e9e455d4c039cbbc4daf0bee85691729b Mon Sep 17 00:00:00 2001 -From: Sebastian Bergmann <sb@sebastian-bergmann.de> -Date: Thu, 26 Jun 2025 13:13:55 +0200 -Subject: [PATCH] Closes #31 - ---- - tests/ContextTest.php | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/ContextTest.php b/tests/ContextTest.php -index eec3f4f..b261f72 100644 ---- a/tests/ContextTest.php -+++ b/tests/ContextTest.php -@@ -107,7 +107,7 @@ public function testContainsFound(array|object $value, int $key): void - * @param array<mixed>|object $value - */ - #[DataProvider('valuesProvider')] -- public function testContainsNotFound(array|object $value): void -+ public function testContainsNotFound(array|object $value, int $key): void - { - $context = new Context; - diff --git a/php-sebastian-recursion-context7.spec b/php-sebastian-recursion-context7.spec index 75a8b31..9f45ef6 100644 --- a/php-sebastian-recursion-context7.spec +++ b/php-sebastian-recursion-context7.spec @@ -9,11 +9,11 @@ %bcond_without tests -%global gh_commit c405ae3a63e01b32eb71577f8ec1604e39858a7c +%global gh_commit 0b01998a7d5b1f122911a66bebcb8d46f0c82d8c %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project recursion-context -%global gh_date 2025-02-07 +%global gh_date 2025-08-13 # Packagist %global pk_vendor sebastian %global pk_project %{gh_project} @@ -24,8 +24,8 @@ %global php_home %{_datadir}/php Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 7.0.0 -Release: 3%{?dist} +Version: 7.0.1 +Release: 1%{?dist} Summary: Recursively process PHP variables, version %{major} License: BSD-3-Clause @@ -34,8 +34,6 @@ URL: https://github.com/%{gh_owner}/%{gh_project} Source0: %{name}-%{version}-%{gh_short}.tgz Source1: makesrc.sh -Patch0: https://github.com/sebastianbergmann/recursion-context/commit/31933c1e9e455d4c039cbbc4daf0bee85691729b.patch - BuildArch: noarch BuildRequires: php(language) >= 8.3 BuildRequires: php-fedora-autoloader-devel @@ -65,7 +63,6 @@ Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php %prep %setup -q -n %{gh_project}-%{gh_commit} -%patch -P0 -p1 %build @@ -85,7 +82,7 @@ touch vendor/autoload.php : Run upstream test suite ret=0 -for cmd in php php83 php84; do +for cmd in php php83 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 @@ -105,6 +102,9 @@ exit $ret %changelog +* Wed Aug 13 2025 Remi Collet <remi@remirepo.net> - 7.0.1-1 +- update to 7.0.1 + * Thu Jun 26 2025 Remi Collet <remi@remirepo.net> - 7.0.0-3 - add upstream patch for test suite with phpunit 12.2 |