summaryrefslogtreecommitdiffstats
path: root/php-tecnickcom-tc-lib-pdf-page.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-tecnickcom-tc-lib-pdf-page.spec')
-rw-r--r--php-tecnickcom-tc-lib-pdf-page.spec32
1 files changed, 10 insertions, 22 deletions
diff --git a/php-tecnickcom-tc-lib-pdf-page.spec b/php-tecnickcom-tc-lib-pdf-page.spec
index 6d7039b..2a0fb04 100644
--- a/php-tecnickcom-tc-lib-pdf-page.spec
+++ b/php-tecnickcom-tc-lib-pdf-page.spec
@@ -1,12 +1,12 @@
# remirepo/fedora spec file for php-tecnickcom-tc-lib-pdf-page
#
-# Copyright (c) 2015-2023 Remi Collet
+# Copyright (c) 2015-2024 Remi Collet
# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
-%global gh_commit 7fe0cc83f9594f2a0f220142fc64466cd21d2cc2
+%global gh_commit 80de2997af492cc50bf29aae117ac7e09ca49998
%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: 4.0.9
+Version: 4.0.11
Release: 1%{?dist}
Summary: PHP library containing PDF page formats and definitions
@@ -29,15 +29,8 @@ BuildArch: noarch
%global phpunit %{_bindir}/phpunit10
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-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-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
BuildRequires: php-date
BuildRequires: php-zlib
%endif
@@ -47,20 +40,13 @@ BuildRequires: php-fedora-autoloader-devel
# "php": ">=8.0"
# "ext-date": "*",
# "ext-zlib": "*",
-# "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-date
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-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-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.1
# None
Requires: php-composer(fedora/autoloader)
@@ -124,8 +110,6 @@ exit $ret
%files
-# remirepo:1
-%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc composer.json
%doc *.md
@@ -133,6 +117,10 @@ exit $ret
%changelog
+* Mon Aug 19 2024 Remi Collet <remi@remirepo.net> - 4.0.11-1
+- update to 4.0.11 (no change)
+- raise dependency on tc-lib-color 2.2
+
* Wed Aug 14 2024 Remi Collet <remi@remirepo.net> - 4.0.9-1
- update to 4.0.9