From 615e94454c161a63c15e66384f5e95dfcd3f935e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 24 Feb 2026 10:27:26 +0100 Subject: update to 2.4.26 --- composer.json | 2 +- php-tecnickcom-tc-lib-barcode.spec | 17 ++++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 1fc0023..46f894a 100644 --- a/composer.json +++ b/composer.json @@ -68,7 +68,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-barcode.spec b/php-tecnickcom-tc-lib-barcode.spec index 718c3c9..e6b09c0 100644 --- a/php-tecnickcom-tc-lib-barcode.spec +++ b/php-tecnickcom-tc-lib-barcode.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit 605b92bfaf8ed2cba18a1c6603d90bc828aa3d5b +%global gh_commit c2d8a6534c6df75e9811c89c85132c2e402c22c6 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global c_vendor tecnickcom %global gh_owner tecnickcom @@ -15,7 +15,7 @@ %bcond_without tests Name: php-%{gh_owner}-%{gh_project} -Version: 2.4.24 +Version: 2.4.26 Release: 1%{?dist} Summary: PHP library to generate linear and bidimensional barcodes @@ -26,8 +26,8 @@ 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 +%global phpunit %{_bindir}/phpunit11 +BuildRequires: phpunit11 >= 11.5.55 BuildRequires: php(language) >= 8.1 BuildRequires: (php-composer(%{c_vendor}/tc-lib-color) >= 2.3 with php-composer(%{c_vendor}/tc-lib-color) < 3) BuildRequires: php-bcmath @@ -113,12 +113,12 @@ require '%{buildroot}%{php_project}/autoload.php'; EOF ret=0 -for cmdarg in "php %{phpunit}" 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 - $1 ${2:-%{_bindir}/phpunit10} --migrate-configuration || : - $1 ${2:-%{_bindir}/phpunit10} \ + $1 ${2:-%{phpunit}} --migrate-configuration || : + $1 ${2:-%{phpunit}} \ --filter '^((?!(testGetSvg|testGetPng)).)*$' \ --no-coverage --stderr || ret=1 fi @@ -137,6 +137,9 @@ exit $ret %changelog +* Tue Feb 24 2026 Remi Collet - 2.4.26-1 +- update to 2.4.26 + * Thu Feb 5 2026 Remi Collet - 2.4.24-1 - update to 2.4.24 (no change) -- cgit