summaryrefslogtreecommitdiffstats
path: root/php-sebastian-recursion-context6.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-sebastian-recursion-context6.spec')
-rw-r--r--php-sebastian-recursion-context6.spec36
1 files changed, 22 insertions, 14 deletions
diff --git a/php-sebastian-recursion-context6.spec b/php-sebastian-recursion-context6.spec
index 3022933..eb49555 100644
--- a/php-sebastian-recursion-context6.spec
+++ b/php-sebastian-recursion-context6.spec
@@ -1,30 +1,32 @@
-# remirepo/fedora spec file for php-sebastian-recursion-context5
+# remirepo/fedora spec file for php-sebastian-recursion-context6
#
-# Copyright (c) 2015-2023 Remi Collet
+# Copyright (c) 2015-2024 Remi Collet
# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
-%bcond_without tests
+# disabled until phpunit11 available
+%bcond_with tests
-%global gh_commit 05909fb5bc7df4c52992396d0116aed689f93712
+%global gh_commit b75224967b5a466925c6d54e68edd0edf8dd4ed4
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project recursion-context
+%global gh_date 2024-02-02
# Packagist
%global pk_vendor sebastian
%global pk_project %{gh_project}
# Namespace
%global ns_vendor SebastianBergmann
%global ns_project RecursionContext
-%global major 5
+%global major 6
%global php_home %{_datadir}/php
Name: php-%{pk_vendor}-%{pk_project}%{major}
-Version: 5.0.0
-Release: 3%{?dist}
+Version: 6.0.0
+Release: 1%{?dist}
Summary: Recursively process PHP variables, version %{major}
License: BSD-3-Clause
@@ -33,17 +35,17 @@ Source0: %{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh
BuildArch: noarch
-BuildRequires: php(language) >= 8.1
+BuildRequires: php(language) >= 8.2
BuildRequires: php-fedora-autoloader-devel
%if %{with tests}
# from composer.json, "require-dev": {
-# "phpunit/phpunit": "^10.0"
-BuildRequires: phpunit10
+# "phpunit/phpunit": "^11.0"
+BuildRequires: phpunit11
%endif
# from composer.json
-# "php": ">=8.1"
-Requires: php(language) >= 8.1
+# "php": ">=8.2"
+Requires: php(language) >= 8.2
# from phpcompatinfo report for version 5.0.0
Requires: php-spl
# Autoloader
@@ -81,10 +83,10 @@ touch vendor/autoload.php
: Run upstream test suite
ret=0
-for cmd in php php81 php82 php83; do
+for cmd in php php82 php83; do
if which $cmd; then
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \
- %{_bindir}/phpunit10 || ret=1
+ %{_bindir}/phpunit11 || ret=1
fi
done
exit $ret
@@ -103,6 +105,12 @@ exit $ret
%changelog
+* Mon Feb 5 2024 Remi Collet <remi@remirepo.net> - 6.0.0-1
+- update to 6.0.0
+- raise dependency on PHP 8.2
+- rename to php-sebastian-recursion-context6
+- move to /usr/share/php/SebastianBergmann/RecursionContext6
+
* Wed Aug 23 2023 Remi Collet <remi@remirepo.net> - 5.0.0-3
- Enable test suite