summaryrefslogtreecommitdiffstats
path: root/php-tecnickcom-tc-lib-file.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-tecnickcom-tc-lib-file.spec')
-rw-r--r--php-tecnickcom-tc-lib-file.spec15
1 files changed, 9 insertions, 6 deletions
diff --git a/php-tecnickcom-tc-lib-file.spec b/php-tecnickcom-tc-lib-file.spec
index 6ca2fa1..affc4e0 100644
--- a/php-tecnickcom-tc-lib-file.spec
+++ b/php-tecnickcom-tc-lib-file.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 6752fdd3e978a633865eb3174a7e7483dff75b51
+%global gh_commit ffc15b2fed4b98064c5b560fef210168310752ab
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global c_vendor tecnickcom
%global gh_owner tecnickcom
@@ -15,7 +15,7 @@
%global with_tests 0%{!?_without_tests:1}
Name: php-%{gh_owner}-%{gh_project}
-Version: 2.2.18
+Version: 2.3.1
Release: 1%{?dist}
Summary: PHP library to read byte-level data from files
@@ -26,9 +26,9 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit
BuildArch: noarch
%if %{with_tests}
# For tests
-%global phpunit %{_bindir}/phpunit10
-BuildRequires: phpunit10 >= 10.5.63
-BuildRequires: php(language) >= 8.1
+%global phpunit %{_bindir}/phpunit11
+BuildRequires: phpunit11 >= 11.5.55
+BuildRequires: php(language) >= 8.2
BuildRequires: php-curl
BuildRequires: php-pcre
%endif
@@ -85,7 +85,7 @@ EOF
sed -i 's:src:File:g' -i test/DirTest.php
ret=0
-for cmdarg in php php82 php83 php84 php85; do
+for cmdarg in php php82 "php83 %{_bindir}/phpunit12" "php84 %{_bindir}/phpunit13" "php85 %{_bindir}/phpunit13"; do
if which $cmdarg; then
set $cmdarg
cp phpunit.xml.dist phpunit.xml
@@ -109,6 +109,9 @@ exit $ret
%changelog
+* Tue Feb 24 2026 Remi Collet <remi@remirepo.net> - 2.3.1-1
+- update to 2.3.1
+
* Thu Feb 5 2026 Remi Collet <remi@remirepo.net> - 2.2.18-1
- update to 2.2.18 (no change)