summaryrefslogtreecommitdiffstats
path: root/php-tecnickcom-tc-lib-pdf-encrypt.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-04-20 07:37:04 +0200
committerRemi Collet <remi@php.net>2026-04-20 07:37:04 +0200
commit4b33369f3c237aa7d7c87489d8b5346937a793c0 (patch)
tree06ee771d8c6da6a5df44831106a8016a696d784c /php-tecnickcom-tc-lib-pdf-encrypt.spec
parent89c1493731920af09c887dbaeb94df77c1bccba4 (diff)
update to 2.1.40 (no change)
Diffstat (limited to 'php-tecnickcom-tc-lib-pdf-encrypt.spec')
-rw-r--r--php-tecnickcom-tc-lib-pdf-encrypt.spec15
1 files changed, 10 insertions, 5 deletions
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
<?php
@@ -120,6 +122,9 @@ exit $ret
%changelog
+* Mon Apr 20 2026 Remi Collet <remi@remirepo.net> - 2.1.40-1
+- update to 2.1.40 (no change)
+
* Tue Apr 14 2026 Remi Collet <remi@remirepo.net> - 2.1.38-1
- update to 2.1.38 (no change)