summaryrefslogtreecommitdiffstats
path: root/php-tecnickcom-tc-lib-pdf-graph.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-tecnickcom-tc-lib-pdf-graph.spec')
-rw-r--r--php-tecnickcom-tc-lib-pdf-graph.spec15
1 files changed, 9 insertions, 6 deletions
diff --git a/php-tecnickcom-tc-lib-pdf-graph.spec b/php-tecnickcom-tc-lib-pdf-graph.spec
index 4628edb..7b32b53 100644
--- a/php-tecnickcom-tc-lib-pdf-graph.spec
+++ b/php-tecnickcom-tc-lib-pdf-graph.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 96322efee7cb7213aee4b92d41da607533ecf6d6
+%global gh_commit 9e844b0279f1fb01bd5472d41ec8adf413e4e054
%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.4.9
+Version: 2.4.11
Release: 1%{?dist}
Summary: PHP library containing PDF graphic and geometric methods
@@ -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-composer(%{c_vendor}/tc-lib-color) >= 2.3 with php-composer(%{c_vendor}/tc-lib-color) < 3)
BuildRequires: (php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.1 with php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 3)
%endif
@@ -91,7 +91,7 @@ require '%{buildroot}%{php_project}/autoload.php';
EOF
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
@@ -113,6 +113,9 @@ exit $ret
%changelog
+* Tue Feb 24 2026 Remi Collet <remi@remirepo.net> - 2.4.11-1
+- update to 2.4.11
+
* Thu Feb 5 2026 Remi Collet <remi@remirepo.net> - 2.4.9-1
- update to 2.4.9 (no change)