From bf53bf6109ee31deae32ad7c7275e76da7ebc9e3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 29 Nov 2023 15:07:06 +0100 Subject: raise dependency on tc-lib-pdf-encrypt 2.1 --- composer.json | 2 +- php-tecnickcom-tc-lib-pdf-graph.spec | 17 ++++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 3d042fd..1ab95ef 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "php": ">=8.0", "ext-zlib": "*", "tecnickcom/tc-lib-color": "^2.0", - "tecnickcom/tc-lib-pdf-encrypt": "^2.0" + "tecnickcom/tc-lib-pdf-encrypt": "^2.1" }, "require-dev": { "pdepend/pdepend": "2.13.0", diff --git a/php-tecnickcom-tc-lib-pdf-graph.spec b/php-tecnickcom-tc-lib-pdf-graph.spec index 91a9cf5..4b37672 100644 --- a/php-tecnickcom-tc-lib-pdf-graph.spec +++ b/php-tecnickcom-tc-lib-pdf-graph.spec @@ -16,7 +16,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 2.0.11 -Release: 1%{?dist} +Release: 2%{?dist} Summary: PHP library containing PDF graphic and geometric methods License: LGPL-3.0-or-later @@ -31,12 +31,12 @@ BuildRequires: phpunit10 >= 10.1.2 BuildRequires: php(language) >= 8.0 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(%{c_vendor}/tc-lib-color) >= 2.0 with php-composer(%{c_vendor}/tc-lib-color) < 3) -BuildRequires: (php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.0 with php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 3) +BuildRequires: (php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.1 with php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 3) %else BuildRequires: php-%{c_vendor}-tc-lib-color < 3 BuildRequires: php-%{c_vendor}-tc-lib-color >= 2.0 BuildRequires: php-%{c_vendor}-tc-lib-pdf-encrypt < 3 -BuildRequires: php-%{c_vendor}-tc-lib-pdf-encrypt >= 2.0 +BuildRequires: php-%{c_vendor}-tc-lib-pdf-encrypt >= 2.1 %endif %endif BuildRequires: php-fedora-autoloader-devel @@ -45,17 +45,17 @@ BuildRequires: php-fedora-autoloader-devel # "php": ">=8.0" # "ext-zlib": "*", # "tecnickcom/tc-lib-color": "^2.0", -# "tecnickcom/tc-lib-pdf-encrypt": "^2.0" +# "tecnickcom/tc-lib-pdf-encrypt": "^2.1" Requires: php(language) >= 8.0 Requires: php-zlib %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(%{c_vendor}/tc-lib-color) >= 2.0 with php-composer(%{c_vendor}/tc-lib-color) < 3) -Requires: (php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.0 with php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 3) +Requires: (php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.1 with php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 3) %else Requires: php-%{c_vendor}-tc-lib-color < 3 Requires: php-%{c_vendor}-tc-lib-color >= 2.0 -Requires: php-%{c_vendor}-tc-lib-pdf-encrypt) < 3 -Requires: php-%{c_vendor}-tc-lib-pdf-encrypt) >= 2.0 +Requires: php-%{c_vendor}-tc-lib-pdf-encrypt < 3 +Requires: php-%{c_vendor}-tc-lib-pdf-encrypt >= 2.1 %endif # From phpcompatinfo report for version 1.4.2 # none @@ -129,6 +129,9 @@ exit $ret %changelog +* Wed Nov 29 2023 Remi Collet - 2.0.11-2 +- raise dependency on tc-lib-pdf-encrypt 2.1 + * Wed Nov 29 2023 Remi Collet - 2.0.11-1 - update to 2.0.11 (no change) -- cgit