summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-11-22 14:04:42 +0100
committerRemi Collet <remi@php.net>2023-11-22 14:04:42 +0100
commitacd4cbcc09d41b2235017de1d953c2570b773b1e (patch)
tree8b3f7a9453ec69e6e3de3b5628efaa7e26eec65f
parent3c9a38018b641e39d9526092f1ad45812b0d43c4 (diff)
update to 4.0.4
raise dependency on PHP 8 raise dependency on tc-lib-color 2.0 raise dependency on tc-lib-pdf-encrypt 2.0
-rw-r--r--composer.json10
-rw-r--r--php-tecnickcom-tc-lib-pdf-page.spec48
2 files changed, 32 insertions, 26 deletions
diff --git a/composer.json b/composer.json
index 51dea39..e04c493 100644
--- a/composer.json
+++ b/composer.json
@@ -18,17 +18,17 @@
}
],
"require": {
- "php": ">=5.4",
+ "php": ">=8.0",
"ext-date": "*",
"ext-zlib": "*",
- "tecnickcom/tc-lib-color": "^1.14",
- "tecnickcom/tc-lib-pdf-encrypt": "^1.6"
+ "tecnickcom/tc-lib-color": "^2.0",
+ "tecnickcom/tc-lib-pdf-encrypt": "^2.0"
},
"require-dev": {
"pdepend/pdepend": "2.13.0",
"phpmd/phpmd": "2.13.0",
- "phpunit/phpunit": "10.1.2 || 9.6.7 || 8.5.31 || 7.5.20 || 6.5.14 || 5.7.27 || 4.8.36",
- "squizlabs/php_codesniffer": "3.7.2 || 2.9.2"
+ "phpunit/phpunit": "10.1.2 || 9.6.13",
+ "squizlabs/php_codesniffer": "3.7.2"
},
"autoload": {
"psr-4": {
diff --git a/php-tecnickcom-tc-lib-pdf-page.spec b/php-tecnickcom-tc-lib-pdf-page.spec
index 8875a5b..bcf898c 100644
--- a/php-tecnickcom-tc-lib-pdf-page.spec
+++ b/php-tecnickcom-tc-lib-pdf-page.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 20b7d448dbb4aacf0d31d09d6535db56afed5d67
+%global gh_commit e2b84d8dd3cdd34964d170473f164608905256c0
%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: 3.2.11
+Version: 4.0.4
Release: 1%{?dist}
Summary: PHP library containing PDF page formats and definitions
@@ -29,21 +29,21 @@ 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
BuildRequires: php-date
BuildRequires: php-zlib
@@ -51,22 +51,22 @@ BuildRequires: php-zlib
BuildRequires: php-fedora-autoloader-devel
# From composer.json, "require": {
-# "php": ">=5.4"
+# "php": ">=8.0"
# "ext-date": "*",
# "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-date
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 2.0.1
# None
@@ -140,6 +140,12 @@ exit $ret
%changelog
+* Wed Nov 22 2023 Remi Collet <remi@remirepo.net> - 4.0.4-1
+- update to 4.0.4
+- 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> - 3.2.11-1
- update to 3.2.11 (no change)