summaryrefslogtreecommitdiffstats
path: root/php-tecnickcom-tc-lib-pdf-graph.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-tecnickcom-tc-lib-pdf-graph.spec')
-rw-r--r--php-tecnickcom-tc-lib-pdf-graph.spec48
1 files changed, 27 insertions, 21 deletions
diff --git a/php-tecnickcom-tc-lib-pdf-graph.spec b/php-tecnickcom-tc-lib-pdf-graph.spec
index f47a5d1..7843f9a 100644
--- a/php-tecnickcom-tc-lib-pdf-graph.spec
+++ b/php-tecnickcom-tc-lib-pdf-graph.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit d523e098ddb69e71e1043958dbb97e2dbbfc93a5
+%global gh_commit 2ec42b176701ce2d96153c8537dfb2d8d30b80ea
%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: 1.7.23
+Version: 2.0.7
Release: 1%{?dist}
Summary: PHP library containing PDF graphic and geometric methods
@@ -29,40 +29,40 @@ BuildArch: noarch
# remirepo:1
%if 0%{?fedora} >= 37 || 0%{?rhel} >= 10
%global phpunit %{_bindir}/phpunit10
-BuildRequires: phpunit10
+BuildRequires: phpunit10 >= 10.1.2
# remirepo:4
%else
%global phpunit %{_bindir}/phpunit9
-BuildRequires: phpunit9 >= 9.5.27
+BuildRequires: phpunit9 >= 9.6.13
%endif
-BuildRequires: php(language) >= 5.4
+BuildRequires: php(language) >= 8.0
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-BuildRequires: (php-composer(%{c_vendor}/tc-lib-color) >= 1.14 with php-composer(%{c_vendor}/tc-lib-color) < 2)
-BuildRequires: (php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 1.6 with php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 2)
+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)
%else
-BuildRequires: php-%{c_vendor}-tc-lib-color < 2
-BuildRequires: php-%{c_vendor}-tc-lib-color >= 1.14
-BuildRequires: php-%{c_vendor}-tc-lib-pdf-encrypt < 2
-BuildRequires: php-%{c_vendor}-tc-lib-pdf-encrypt >= 1.6
+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
%endif
%endif
BuildRequires: php-fedora-autoloader-devel
# From composer.json, "require": {
-# "php": ">=5.4"
+# "php": ">=8.0"
# "ext-zlib": "*",
-# "tecnickcom/tc-lib-color": "^1.14",
-# "tecnickcom/tc-lib-pdf-encrypt": "^1.6.0"
-Requires: php(language) >= 5.4
+# "tecnickcom/tc-lib-color": "^2.0",
+# "tecnickcom/tc-lib-pdf-encrypt": "^2.0"
+Requires: php(language) >= 8.0
Requires: php-zlib
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-Requires: (php-composer(%{c_vendor}/tc-lib-color) >= 1.14 with php-composer(%{c_vendor}/tc-lib-color) < 2)
-Requires: (php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 1.6 with php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 2)
+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)
%else
-Requires: php-%{c_vendor}-tc-lib-color < 2
-Requires: php-%{c_vendor}-tc-lib-color >= 1.14
-Requires: php-%{c_vendor}-tc-lib-pdf-encrypt) < 2
-Requires: php-%{c_vendor}-tc-lib-pdf-encrypt) >= 1.6
+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
%endif
# From phpcompatinfo report for version 1.4.2
# none
@@ -137,6 +137,12 @@ exit $ret
%changelog
+* Wed Nov 22 2023 Remi Collet <remi@remirepo.net> - 2.0.7-1
+- update to 2.0.7
+- raise dependency on PHP 8
+- raise dependency on tc-lib-color 2.0
+- raise dependency on tc-lib-pdf-encrypt 2.0
+
* Mon Oct 23 2023 Remi Collet <remi@remirepo.net> - 1.7.23-1
- update to 1.7.23 (no change)