From 3c3378a58e5ea9b26c5d0773e2e24b76f01ee1e8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 19 Aug 2024 11:23:05 +0200 Subject: update to 2.1.1 raise dependency on tc-lib-color 2.2 --- composer.json | 2 +- php-tecnickcom-tc-lib-pdf-image.spec | 32 +++++++++----------------------- 2 files changed, 10 insertions(+), 24 deletions(-) diff --git a/composer.json b/composer.json index c120ccd..f54a0f9 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "ext-gd": "*", "ext-zlib": "*", "tecnickcom/tc-lib-file": "^2.0", - "tecnickcom/tc-lib-color": "^2.0", + "tecnickcom/tc-lib-color": "^2.2", "tecnickcom/tc-lib-pdf-encrypt": "^2.1" }, "require-dev": { diff --git a/php-tecnickcom-tc-lib-pdf-image.spec b/php-tecnickcom-tc-lib-pdf-image.spec index c84db9e..1e756ab 100644 --- a/php-tecnickcom-tc-lib-pdf-image.spec +++ b/php-tecnickcom-tc-lib-pdf-image.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit 9d58d4449aede36a72498b3b8c356f68257992bd +%global gh_commit 8ccba63917b92bea730f4f3039b771bae4393013 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global c_vendor tecnickcom %global gh_owner tecnickcom @@ -15,7 +15,7 @@ %global with_tests 0%{!?_without_tests:1} Name: php-%{gh_owner}-%{gh_project} -Version: 2.0.14 +Version: 2.1.1 Release: 1%{?dist} Summary: PHP library containing PDF Image methods @@ -31,18 +31,9 @@ BuildRequires: phpunit10 >= 10.1.2 BuildRequires: php(language) >= 8.0 BuildRequires: php-gd BuildRequires: php-zlib -%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(%{c_vendor}/tc-lib-file) >= 2.0 with php-composer(%{c_vendor}/tc-lib-file) < 3) -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-color) >= 2.2 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) -%else -BuildRequires: php-%{c_vendor}-tc-lib-file < 3 -BuildRequires: php-%{c_vendor}-tc-lib-file >= 2.0 -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.1 -%endif %endif BuildRequires: php-fedora-autoloader-devel @@ -51,23 +42,14 @@ BuildRequires: php-fedora-autoloader-devel # "ext-gd": "*", # "ext-zlib": "*", # "tecnickcom/tc-lib-file": "^2.0", -# "tecnickcom/tc-lib-color": "^2.0", +# "tecnickcom/tc-lib-color": "^2.2", # "tecnickcom/tc-lib-pdf-encrypt": "^2.0" Requires: php(language) >= 8.0 Requires: php-gd Requires: php-zlib -%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(%{c_vendor}/tc-lib-file) >= 2.0 with php-composer(%{c_vendor}/tc-lib-file) < 3) -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-color) >= 2.2 with php-composer(%{c_vendor}/tc-lib-color) < 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-file < 3 -Requires: php-%{c_vendor}-tc-lib-file >= 2.0 -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.1 -%endif # From phpcompatinfo report for version 2.0.8 # none Requires: php-composer(fedora/autoloader) @@ -140,6 +122,10 @@ exit $ret %changelog +* Mon Aug 19 2024 Remi Collet - 2.1.1-1 +- update to 2.1.1 +- raise dependency on tc-lib-color 2.2 + * Thu Aug 15 2024 Remi Collet - 2.0.14-1 - update to 2.0.14 -- cgit