summaryrefslogtreecommitdiffstats
path: root/php-tecnickcom-tc-lib-barcode.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-11-22 13:58:13 +0100
committerRemi Collet <remi@php.net>2023-11-22 13:58:13 +0100
commitbac0f93686a2ea061ae221156f58d43a093a4a97 (patch)
tree314a5cdf3e5937ff2053fc57ddc74a92246311a7 /php-tecnickcom-tc-lib-barcode.spec
parenta741b0724d4e86e5f50b0d480164f32bcd6add72 (diff)
update to 2.0.7
raise dependency on PHP 8 raise dependency on tc-lib-color 2.0
Diffstat (limited to 'php-tecnickcom-tc-lib-barcode.spec')
-rw-r--r--php-tecnickcom-tc-lib-barcode.spec31
1 files changed, 18 insertions, 13 deletions
diff --git a/php-tecnickcom-tc-lib-barcode.spec b/php-tecnickcom-tc-lib-barcode.spec
index ae34ba7..ab660a9 100644
--- a/php-tecnickcom-tc-lib-barcode.spec
+++ b/php-tecnickcom-tc-lib-barcode.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit cd81392e6e1e57e0f6ff8519b1edbc11d8e47a44
+%global gh_commit 313b243bafbcc7e6f01ad2d3b28c395be1585127
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global c_vendor tecnickcom
%global gh_owner tecnickcom
@@ -15,7 +15,7 @@
%bcond_without tests
Name: php-%{gh_owner}-%{gh_project}
-Version: 1.18.4
+Version: 2.0.7
Release: 1%{?dist}
Summary: PHP library to generate linear and bidimensional barcodes
@@ -29,20 +29,20 @@ 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.6
+BuildRequires: php(language) >= 8.0
# remirepo:1
%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-color) >= 2.0 with php-composer(%{c_vendor}/tc-lib-color) < 3)
# remirepo:4
%else
-BuildRequires: php-%{c_vendor}-tc-lib-color < 2
-BuildRequires: php-%{c_vendor}-tc-lib-color >= 1.14
+BuildRequires: php-%{c_vendor}-tc-lib-color < 3
+BuildRequires: php-%{c_vendor}-tc-lib-color >= 2.0
%endif
BuildRequires: php-bcmath
BuildRequires: php-ctype
@@ -60,8 +60,8 @@ BuildRequires: php-fedora-autoloader-devel
# "ext-date": "*",
# "ext-gd": "*",
# "ext-pcre": "*",
-# "tecnickcom/tc-lib-color": "^1.14"
-Requires: php(language) >= 5.6
+# "tecnickcom/tc-lib-color": "^2.0"
+Requires: php(language) >= 8.0
Requires: php-bcmath
Requires: php-ctype
Requires: php-date
@@ -69,11 +69,11 @@ Requires: php-gd
Requires: php-pcre
# remirepo:1
%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-color) >= 2.0 with php-composer(%{c_vendor}/tc-lib-color) < 3)
# remirepo:4
%else
-Requires: php-%{c_vendor}-tc-lib-color < 2
-Requires: php-%{c_vendor}-tc-lib-color >= 1.14
+Requires: php-%{c_vendor}-tc-lib-color < 3
+Requires: php-%{c_vendor}-tc-lib-color >= 2.0
%endif
# From phpcompatinfo report for version 1.15.5
# none
@@ -159,6 +159,11 @@ 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
+
* Mon Oct 23 2023 Remi Collet <remi@remirepo.net> - 1.18.4-1
- update to 1.18.4 (no change)