summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-08-13 06:55:33 +0200
committerRemi Collet <remi@php.net>2025-08-13 06:55:33 +0200
commit11290d155bd6a9fa6e249f8224fbb0dfb99da648 (patch)
treeb83c8694b601ee0312a7e5a61366edc0dd1f4aba
parentd7aa13f0ce3c02bf31b3b83846a4dc5f40ffa37b (diff)
update to 6.0.3HEADmaster
-rw-r--r--composer.json2
-rwxr-xr-xmakesrc.sh4
-rw-r--r--php-sebastian-recursion-context6.spec18
3 files changed, 13 insertions, 11 deletions
diff --git a/composer.json b/composer.json
index 94e5be7..ecc2504 100644
--- a/composer.json
+++ b/composer.json
@@ -33,7 +33,7 @@
"php": ">=8.2"
},
"require-dev": {
- "phpunit/phpunit": "^11.0"
+ "phpunit/phpunit": "^11.3"
},
"autoload": {
"classmap": [
diff --git a/makesrc.sh b/makesrc.sh
index b959795..4977b31 100755
--- a/makesrc.sh
+++ b/makesrc.sh
@@ -17,11 +17,11 @@ else
echo "Cloning..."
rm -rf $PROJECT-$COMMIT
- git clone --shallow-since=$DATE https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT || exit 1
+ git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT || exit 1
echo "Getting commit..."
pushd $PROJECT-$COMMIT
- git checkout $COMMIT || exit1
+ git checkout $COMMIT || exit 1
cp composer.json ../composer.json
popd
diff --git a/php-sebastian-recursion-context6.spec b/php-sebastian-recursion-context6.spec
index bf62aeb..1dc892a 100644
--- a/php-sebastian-recursion-context6.spec
+++ b/php-sebastian-recursion-context6.spec
@@ -10,11 +10,11 @@
# disabled until phpunit11 available
%bcond_without tests
-%global gh_commit 694d156164372abbd149a4b85ccda2e4670c0e16
+%global gh_commit f6458abbf32a6c8174f8f26261475dc133b3d9dc
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project recursion-context
-%global gh_date 2024-07-03
+%global gh_date 2025-08-13
# Packagist
%global pk_vendor sebastian
%global pk_project %{gh_project}
@@ -25,8 +25,8 @@
%global php_home %{_datadir}/php
Name: php-%{pk_vendor}-%{pk_project}%{major}
-Version: 6.0.2
-Release: 2%{?dist}
+Version: 6.0.3
+Release: 1%{?dist}
Summary: Recursively process PHP variables, version %{major}
License: BSD-3-Clause
@@ -40,15 +40,14 @@ BuildRequires: php(language) >= 8.2
BuildRequires: php-fedora-autoloader-devel
%if %{with tests}
# from composer.json, "require-dev": {
-# "phpunit/phpunit": "^11.0"
-BuildRequires: phpunit11
+# "phpunit/phpunit": "^11.3"
+BuildRequires: phpunit11 >= 11.3
%endif
# from composer.json
# "php": ">=8.2"
Requires: php(language) >= 8.2
# from phpcompatinfo report for version 5.0.0
-Requires: php-spl
# Autoloader
Requires: php-composer(fedora/autoloader)
@@ -84,7 +83,7 @@ touch vendor/autoload.php
: Run upstream test suite
ret=0
-for cmd in php php82 php83 php84; do
+for cmd in php 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}/phpunit11 || ret=1
@@ -104,6 +103,9 @@ exit $ret
%changelog
+* Wed Aug 13 2025 Remi Collet <remi@remirepo.net> - 6.0.3-1
+- update to 6.0.3
+
* Tue Feb 4 2025 Remi Collet <remi@remirepo.net> - 6.0.2-2
- enable test suite