From 8174c0b2de5a09f3bae178216b50bae2100d7575 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Apr 2026 07:47:49 +0200 Subject: update to 2.4.17 open https://github.com/tecnickcom/tc-lib-pdf-graph/pull/5 fix typo --- php-tecnickcom-tc-lib-pdf-graph.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'php-tecnickcom-tc-lib-pdf-graph.spec') diff --git a/php-tecnickcom-tc-lib-pdf-graph.spec b/php-tecnickcom-tc-lib-pdf-graph.spec index 37c1262..7497465 100644 --- a/php-tecnickcom-tc-lib-pdf-graph.spec +++ b/php-tecnickcom-tc-lib-pdf-graph.spec @@ -6,18 +6,20 @@ # # Please, preserve the changelog entries # + +%bcond_without tests + %global c_vendor tecnickcom %global gh_owner tecnickcom %global gh_project tc-lib-pdf-graph %global php_project %{_datadir}/php/Com/Tecnick/Pdf/Graph -%global with_tests 0%{!?_without_tests:1} %global forgeurl https://github.com/%{gh_owner}/%{gh_project} %global tag %{version} Name: php-%{gh_owner}-%{gh_project} Summary: PHP library containing PDF graphic and geometric methods License: LGPL-3.0-or-later -Version: 2.4.15 +Version: 2.4.17 Release: 1%{?dist} %forgemeta @@ -25,10 +27,10 @@ URL: %{forgeurl} Source0: %{forgesource} BuildArch: noarch -%if %{with_tests} +%if %{with tests} # For tests %global phpunit %{_bindir}/phpunit11 -BuildRequires: phpunit11 >= 11.5.55 +BuildRequires: phpunit11 >= 11.5 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) @@ -83,7 +85,7 @@ cp -pr src %{buildroot}%{php_project} %check -%if %{with_tests} +%if %{with tests} mkdir vendor cat << 'EOF' | tee vendor/autoload.php - 2.4.17-1 +- update to 2.4.17 +- open https://github.com/tecnickcom/tc-lib-pdf-graph/pull/5 fix typo + * Tue Apr 14 2026 Remi Collet - 2.4.15-1 - update to 2.4.15 (no change) -- cgit