diff options
| -rw-r--r-- | composer.json | 124 | ||||
| -rw-r--r-- | php-tecnickcom-tc-lib-unicode.spec | 17 |
2 files changed, 73 insertions, 68 deletions
diff --git a/composer.json b/composer.json index a76a56b..0f898d2 100644 --- a/composer.json +++ b/composer.json @@ -1,65 +1,65 @@ { - "name": "tecnickcom/tc-lib-unicode", - "description": "PHP library containing Unicode methods", - "type": "library", - "homepage": "https://tcpdf.org", - "license": "LGPL-3.0-or-later", - "keywords": [ - "tc-lib-unicode", - "PDF", - "font", - "UTF-8", - "Unicode" - ], - "authors": [ - { - "name": "Nicola Asuni", - "email": "info@tecnick.com", - "role": "lead" + "name": "tecnickcom/tc-lib-unicode", + "description": "PHP library containing Unicode methods", + "type": "library", + "homepage": "https://tcpdf.org", + "license": "LGPL-3.0-or-later", + "keywords": [ + "tc-lib-unicode", + "PDF", + "font", + "UTF-8", + "Unicode" + ], + "authors": [ + { + "name": "Nicola Asuni", + "email": "info@tecnick.com", + "role": "lead" + } + ], + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/tecnickcom" + } + ], + "require": { + "php": ">=8.2", + "ext-mbstring": "*", + "ext-pcre": "*", + "tecnickcom/tc-lib-unicode-data": "^2.1" + }, + "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\\Unicode\\": "src" + } + }, + "autoload-dev": { + "psr-4": { + "Test\\": "test" + } + }, + "support": { + "issues": "https://github.com/tecnickcom/tc-lib-unicode/issues", + "source": "https://github.com/tecnickcom/tc-lib-unicode" + }, + "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-mbstring": "*", - "ext-pcre": "*", - "tecnickcom/tc-lib-unicode-data": "^2.0" - }, - "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\\Unicode\\": "src" - } - }, - "autoload-dev": { - "psr-4": { "Test\\": "test" } - }, - "support": { - "issues": "https://github.com/tecnickcom/tc-lib-unicode/issues", - "source": "https://github.com/tecnickcom/tc-lib-unicode" - }, - "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-unicode.spec b/php-tecnickcom-tc-lib-unicode.spec index c460224..007b331 100644 --- a/php-tecnickcom-tc-lib-unicode.spec +++ b/php-tecnickcom-tc-lib-unicode.spec @@ -19,7 +19,7 @@ Name: php-%{gh_owner}-%{gh_project} Summary: PHP library containing Unicode methods License: LGPL-3.0-or-later -Version: 2.1.2 +Version: 2.2.0 Release: 1%{?dist} %forgemeta @@ -32,21 +32,21 @@ BuildArch: noarch %global phpunit %{_bindir}/phpunit11 BuildRequires: phpunit11 >= 11.5 BuildRequires: php(language) >= 8.2 -BuildRequires: (php-composer(%{c_vendor}/tc-lib-unicode-data) >= 2.0 with php-composer(%{c_vendor}/tc-lib-unicode-data) < 3) +BuildRequires: (php-composer(%{c_vendor}/tc-lib-unicode-data) >= 2.1 with php-composer(%{c_vendor}/tc-lib-unicode-data) < 3) BuildRequires: php-mbstring BuildRequires: php-pcre %endif BuildRequires: php-fedora-autoloader-devel # From composer.json, "require": { -# "php": ">=8.1" +# "php": ">=8.2" # "ext-mbstring": "*", # "ext-pcre": "*", -# "tecnickcom/tc-lib-unicode-data": "^2.0" -Requires: php(language) >= 8.1 +# "tecnickcom/tc-lib-unicode-data": "^2.1" +Requires: php(language) >= 8.2 Requires: php-mbstring Requires: php-pcre -Requires: (php-composer(%{c_vendor}/tc-lib-unicode-data) >= 2.0 with php-composer(%{c_vendor}/tc-lib-unicode-data) < 3) +Requires: (php-composer(%{c_vendor}/tc-lib-unicode-data) >= 2.1 with php-composer(%{c_vendor}/tc-lib-unicode-data) < 3) # From phpcompatinfo report for version 1.2.1 # None BuildRequires: php-fedora-autoloader-devel @@ -117,6 +117,11 @@ exit $ret %changelog +* Wed May 13 2026 Remi Collet <remi@remirepo.net> - 2.2.0-1 +- update to 2.2.0 +- raise dependency on PHP 8.2 +- raise dependency on tc-lib-unicode-data 2.1 + * Sun May 3 2026 Remi Collet <remi@remirepo.net> - 2.1.2-1 - update to 2.1.2 |
