diff options
| author | Remi Collet <remi@remirepo.net> | 2026-05-13 08:29:23 +0200 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2026-05-13 08:29:23 +0200 |
| commit | 10a1f571a87e4d7366e51203f5a0787cec402fb8 (patch) | |
| tree | 5c73ca70529e9dd61dc1172e3143c7616a76e7a1 | |
| parent | e6ed702c478021a3016ae3b5d65284c454f6288e (diff) | |
raise dependency on PHP 8.2
raise dependency on tc-lib-color 2.6
| -rw-r--r-- | composer.json | 202 | ||||
| -rw-r--r-- | php-tecnickcom-tc-lib-barcode.spec | 17 |
2 files changed, 111 insertions, 108 deletions
diff --git a/composer.json b/composer.json index c4a03dc..39a1441 100644 --- a/composer.json +++ b/composer.json @@ -1,105 +1,103 @@ { - "name": "tecnickcom/tc-lib-barcode", - "description": "PHP library to generate linear and bidimensional barcodes", - "type": "library", - "homepage": "https://tcpdf.org", - "license": "LGPL-3.0-or-later", - "keywords": [ - "tc-lib-barcode", - "barcode", - "3 of 9", - "ANSI MH10.8M-1983", - "AZTEC", - "barcode", - "CBC", - "CODABAR", - "CODE 11", - "CODE 128 A B C", - "CODE 39", - "CODE 93", - "Datamatrix", - "EAN 13", - "EAN 8", - "ECC200", - "Intelligent Mail Barcode", - "Interleaved 2 of 5", - "ISO IEC 15438 2006", - "ISO IEC 16022", - "ISO IEC 24778 2008", - "KIX", - "Klant", - "MSI", - "Onecode", - "PDF417", - "PHARMACODE TWO-TRACKS", - "PHARMACODE", - "PLANET", - "POSTNET", - "QR-Code", - "RMS4CC", - "Royal Mail", - "Standard 2 of 5", - "tc-lib-barcode", - "UPC-A", - "UPC-E", - "UPC", - "USD-3", - "USPS-B-3200", - "USS-93" - ], - "authors": [ - { - "name": "Nicola Asuni", - "email": "info@tecnick.com", - "role": "lead" + "name": "tecnickcom/tc-lib-barcode", + "description": "PHP library to generate linear and bidimensional barcodes", + "type": "library", + "homepage": "https://tcpdf.org", + "license": "LGPL-3.0-or-later", + "keywords": [ + "tc-lib-barcode", + "barcode", + "3 of 9", + "ANSI MH10.8M-1983", + "AZTEC", + "barcode", + "CBC", + "CODABAR", + "CODE 11", + "CODE 128 A B C", + "CODE 39", + "CODE 93", + "Datamatrix", + "EAN 13", + "EAN 8", + "ECC200", + "Intelligent Mail Barcode", + "Interleaved 2 of 5", + "ISO IEC 15438 2006", + "ISO IEC 16022", + "ISO IEC 24778 2008", + "KIX", + "Klant", + "MSI", + "Onecode", + "PDF417", + "PHARMACODE TWO-TRACKS", + "PHARMACODE", + "PLANET", + "POSTNET", + "QR-Code", + "RMS4CC", + "Royal Mail", + "Standard 2 of 5", + "tc-lib-barcode", + "UPC-A", + "UPC-E", + "UPC", + "USD-3", + "USPS-B-3200", + "USS-93" + ], + "authors": [ + { + "name": "Nicola Asuni", + "email": "info@tecnick.com", + "role": "lead" + } + ], + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/tecnickcom" + } + ], + "require": { + "php": ">=8.2", + "ext-bcmath": "*", + "ext-date": "*", + "ext-gd": "*", + "ext-pcre": "*", + "tecnickcom/tc-lib-color": "^2.6" + }, + "minimum-stability": "dev", + "prefer-stable": true, + "config": { + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } + }, + "require-dev": { + "pdepend/pdepend": "^2.16", + "phpunit/phpunit": "^13.1 || ^12.5 || ^11.5", + "phpcompatibility/php-compatibility": "^10.0.0@dev" + }, + "autoload": { + "psr-4": { + "Com\\Tecnick\\Barcode\\": "src" + } + }, + "autoload-dev": { + "psr-4": { + "Test\\": "test" + } + }, + "support": { + "issues": "https://github.com/tecnickcom/tc-lib-barcode/issues", + "source": "https://github.com/tecnickcom/tc-lib-barcode" + }, + "scripts": { + "test": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --stderr test", + "cs-check": "./vendor/bin/mago --config ./mago.src.toml lint src && ./vendor/bin/mago --config ./mago.test.toml lint test", + "cs-fix": "./vendor/bin/mago fmt src test", + "analyse": "./vendor/bin/mago --config ./mago.src.toml analyze src && ./vendor/bin/mago --config ./mago.test.toml analyze test" } - ], - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/tecnickcom" - } - ], - "require": { - "php": ">=8.1", - "ext-bcmath": "*", - "ext-date": "*", - "ext-gd": "*", - "ext-pcre": "*", - "tecnickcom/tc-lib-color": "^2.5" - }, - "minimum-stability": "dev", - "prefer-stable": true, - "config": { - "allow-plugins": { - "dealerdirect/phpcodesniffer-composer-installer": true - } - }, - "require-dev": { - "pdepend/pdepend": "^2.16", - "phpmd/phpmd": "^2.15", - "phpunit/phpunit": "^13.1 || ^12.5 || ^11.5 || ^10.5", - "squizlabs/php_codesniffer": "^4.0", - "phpcompatibility/php-compatibility": "^10.0.0@dev" - }, - "autoload": { - "psr-4": { - "Com\\Tecnick\\Barcode\\": "src" - } - }, - "autoload-dev": { - "psr-4": { - "Test\\": "test" - } - }, - "support": { - "issues": "https://github.com/tecnickcom/tc-lib-barcode/issues", - "source": "https://github.com/tecnickcom/tc-lib-barcode" - }, - "scripts": { - "test": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --stderr test", - "cs-check": "./vendor/bin/phpcs --standard=phpcs.xml", - "cs-fix": "./vendor/bin/phpcbf --ignore=\"./vendor/\" --standard=psr12 src test", - "analyse": "./vendor/phpstan.phar analyse" - } } diff --git a/php-tecnickcom-tc-lib-barcode.spec b/php-tecnickcom-tc-lib-barcode.spec index 5919fb5..4247a68 100644 --- a/php-tecnickcom-tc-lib-barcode.spec +++ b/php-tecnickcom-tc-lib-barcode.spec @@ -19,7 +19,7 @@ Name: php-%{gh_owner}-%{gh_project} Summary: PHP library to generate linear and bidimensional barcodes License: LGPL-3.0-or-later -Version: 2.4.39 +Version: 2.5.0 Release: 1%{?dist} %forgemeta @@ -32,7 +32,7 @@ BuildArch: noarch %global phpunit %{_bindir}/phpunit11 BuildRequires: phpunit11 >= 11.5 BuildRequires: php(language) >= 8.2 -BuildRequires: (php-composer(%{c_vendor}/tc-lib-color) >= 2.5 with php-composer(%{c_vendor}/tc-lib-color) < 3) +BuildRequires: (php-composer(%{c_vendor}/tc-lib-color) >= 2.6 with php-composer(%{c_vendor}/tc-lib-color) < 3) BuildRequires: php-bcmath BuildRequires: php-ctype BuildRequires: php-date @@ -44,19 +44,19 @@ BuildRequires: php-pecl-imagick BuildRequires: php-fedora-autoloader-devel # From composer.json, "require": { -# "php": ">=8.1" +# "php": ">=8.2" # "ext-bcmath": "*", # "ext-date": "*", # "ext-gd": "*", # "ext-pcre": "*", -# "tecnickcom/tc-lib-color": "^2.5" -Requires: php(language) >= 8.1 +# "tecnickcom/tc-lib-color": "^2.6" +Requires: php(language) >= 8.2 Requires: php-bcmath Requires: php-ctype Requires: php-date Requires: php-gd Requires: php-pcre -Requires: (php-composer(%{c_vendor}/tc-lib-color) >= 2.5 with php-composer(%{c_vendor}/tc-lib-color) < 3) +Requires: (php-composer(%{c_vendor}/tc-lib-color) >= 2.6 with php-composer(%{c_vendor}/tc-lib-color) < 3) # From phpcompatinfo report for version 1.15.5 # none Requires: php-composer(fedora/autoloader) @@ -140,6 +140,11 @@ exit $ret %changelog +* Wed May 13 2026 Remi Collet <remi@remirepo.net> - 2.5.0-1 +- update to 2.5.0 +- raise dependency on PHP 8.2 +- raise dependency on tc-lib-color 2.6 + * Sun May 3 2026 Remi Collet <remi@remirepo.net> - 2.4.39-1 - update to 2.4.39 (no change) - raise dependency on tc-lib-color 2.5 |
