summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json2
-rw-r--r--php-tecnickcom-tc-lib-pdf-graph.spec15
2 files changed, 10 insertions, 7 deletions
diff --git a/composer.json b/composer.json
index 00c884b..0fa0c55 100644
--- a/composer.json
+++ b/composer.json
@@ -32,7 +32,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-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)