From bac0f93686a2ea061ae221156f58d43a093a4a97 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 22 Nov 2023 13:58:13 +0100 Subject: update to 2.0.7 raise dependency on PHP 8 raise dependency on tc-lib-color 2.0 --- composer.json | 8 ++++---- php-tecnickcom-tc-lib-barcode.spec | 31 ++++++++++++++++++------------- 2 files changed, 22 insertions(+), 17 deletions(-) diff --git a/composer.json b/composer.json index 48b24a7..49f123a 100644 --- a/composer.json +++ b/composer.json @@ -53,18 +53,18 @@ } ], "require": { - "php": ">=5.6", + "php": ">=8.0", "ext-bcmath": "*", "ext-date": "*", "ext-gd": "*", "ext-pcre": "*", - "tecnickcom/tc-lib-color": "^1.14" + "tecnickcom/tc-lib-color": "^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-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 - 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 - 1.18.4-1 - update to 1.18.4 (no change) -- cgit