From 4b33369f3c237aa7d7c87489d8b5346937a793c0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Apr 2026 07:37:04 +0200 Subject: update to 2.1.40 (no change) --- php-tecnickcom-tc-lib-pdf-encrypt.spec | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'php-tecnickcom-tc-lib-pdf-encrypt.spec') diff --git a/php-tecnickcom-tc-lib-pdf-encrypt.spec b/php-tecnickcom-tc-lib-pdf-encrypt.spec index d562662..ef89fc2 100644 --- a/php-tecnickcom-tc-lib-pdf-encrypt.spec +++ b/php-tecnickcom-tc-lib-pdf-encrypt.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-encrypt %global php_project %{_datadir}/php/Com/Tecnick/Pdf/Encrypt -%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 encrypt data for PDF License: LGPL-3.0-or-later -Version: 2.1.38 +Version: 2.1.40 Release: 1%{?dist} %forgemeta @@ -25,7 +27,7 @@ URL: %{forgeurl} Source0: %{forgesource} BuildArch: noarch -%if %{with_tests} +%if %{with tests} # For tests BuildRequires: php(language) >= 8.2 BuildRequires: php-date @@ -34,7 +36,7 @@ BuildRequires: php-openssl BuildRequires: php-pcre BuildRequires: php-posix %global phpunit %{_bindir}/phpunit11 -BuildRequires: phpunit11 >= 11.5.55 +BuildRequires: phpunit11 >= 11.5 %endif BuildRequires: php-fedora-autoloader-devel @@ -85,7 +87,7 @@ cp -pr src %{buildroot}%{php_project} %check -%if %{with_tests} +%if %{with tests} mkdir vendor cat << 'EOF' | tee vendor/autoload.php - 2.1.40-1 +- update to 2.1.40 (no change) + * Tue Apr 14 2026 Remi Collet - 2.1.38-1 - update to 2.1.38 (no change) -- cgit