summaryrefslogtreecommitdiffstats
path: root/php-sebastian-recursion-context8.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-sebastian-recursion-context8.spec')
-rw-r--r--php-sebastian-recursion-context8.spec30
1 files changed, 18 insertions, 12 deletions
diff --git a/php-sebastian-recursion-context8.spec b/php-sebastian-recursion-context8.spec
index 9f45ef6..ce00281 100644
--- a/php-sebastian-recursion-context8.spec
+++ b/php-sebastian-recursion-context8.spec
@@ -1,30 +1,30 @@
# remirepo/fedora spec file for php-sebastian-recursion-context7
#
-# SPDX-FileCopyrightText: Copyright 2015-2025 Remi Collet
+# SPDX-FileCopyrightText: Copyright 2015-2026 Remi Collet
# SPDX-License-Identifier: CECILL-2.1
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
-%bcond_without tests
+%bcond_with tests
-%global gh_commit 0b01998a7d5b1f122911a66bebcb8d46f0c82d8c
+%global gh_commit 74c5af21f6a5833e91767ca068c4d3dfec15317e
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project recursion-context
-%global gh_date 2025-08-13
+%global gh_date 2026-02-06
# Packagist
%global pk_vendor sebastian
%global pk_project %{gh_project}
# Namespace
%global ns_vendor SebastianBergmann
%global ns_project RecursionContext
-%global major 7
+%global major 8
%global php_home %{_datadir}/php
Name: php-%{pk_vendor}-%{pk_project}%{major}
-Version: 7.0.1
+Version: 8.0.0
Release: 1%{?dist}
Summary: Recursively process PHP variables, version %{major}
@@ -35,17 +35,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.1"
+Requires: php(language) >= 8.4.1
# from phpcompatinfo report for version 5.0.0
# Autoloader
Requires: php-composer(fedora/autoloader)
@@ -82,7 +82,7 @@ touch vendor/autoload.php
: Run upstream test suite
ret=0
-for cmd in php php83 php84 php85; 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
@@ -102,6 +102,12 @@ exit $ret
%changelog
+* Fri Feb 6 2026 Remi Collet <remi@remirepo.net> - 8.0.0-1
+- update to 8.0.0
+- raise dependency on PHP 8.4
+- rename to php-sebastian-recursion-context8
+- move to /usr/share/php/SebastianBergmann/RecursionContext8
+
* Wed Aug 13 2025 Remi Collet <remi@remirepo.net> - 7.0.1-1
- update to 7.0.1