From 4fa4bbb3a0f52b89f61f8dd58a4da3f502bc8d89 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Apr 2026 07:52:16 +0200 Subject: update to 3.0.45 open https://github.com/tecnickcom/tc-lib-pdf-parser/pull/12 fix typo --- php-tecnickcom-tc-lib-pdf-parser.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'php-tecnickcom-tc-lib-pdf-parser.spec') diff --git a/php-tecnickcom-tc-lib-pdf-parser.spec b/php-tecnickcom-tc-lib-pdf-parser.spec index 3083ae5..7d11cf9 100644 --- a/php-tecnickcom-tc-lib-pdf-parser.spec +++ b/php-tecnickcom-tc-lib-pdf-parser.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-parser %global php_project %{_datadir}/php/Com/Tecnick/Pdf/Parser -%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 to parse PDF documents License: LGPL-3.0-or-later -Version: 3.0.43 +Version: 3.0.45 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-pdf-filter) >= 2.0 with php-composer(%{c_vendor}/tc-lib-pdf-filter) < 3) BuildRequires: php-pcre @@ -87,7 +89,7 @@ cp -pr src %{buildroot}%{php_project} %check -%if %{with_tests} +%if %{with tests} mkdir vendor cat << 'EOF' | tee vendor/autoload.php - 3.0.45-1 +- update to 3.0.45 +- open https://github.com/tecnickcom/tc-lib-pdf-parser/pull/12 fix typo + * Tue Apr 14 2026 Remi Collet - 3.0.43-1 - update to 3.0.43 (no change) -- cgit