summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-02-24 10:35:35 +0100
committerRemi Collet <remi@php.net>2026-02-24 10:35:35 +0100
commit1b39d5605a9e2200b4c3704f3a9b5ed0be8362c9 (patch)
treed04aaef9667a941a2368676c4daf893fce0e881e
parent3720bddb96e7ceff4fdd9ad1db0cd1af0398a5c5 (diff)
update to 2.3.1HEADmaster
-rw-r--r--composer.json2
-rw-r--r--php-tecnickcom-tc-lib-file.spec15
2 files changed, 10 insertions, 7 deletions
diff --git a/composer.json b/composer.json
index ac336ec..3087a75 100644
--- a/composer.json
+++ b/composer.json
@@ -34,7 +34,7 @@
"require-dev": {
"pdepend/pdepend": "2.16.2",
"phpmd/phpmd": "2.15.0",
- "phpunit/phpunit": "12.5.8 || 11.5.50 || 10.5.63",
+ "phpunit/phpunit": "13.0.5 || 12.5.14 || 11.5.55 || 10.5.63",
"squizlabs/php_codesniffer": "4.0.1",
"phpcompatibility/php-compatibility": "^10.0.0@dev"
},
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)