From 05fefe63d2d825011476c35c9e63815f1a2b82fc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Apr 2026 07:57:54 +0200 Subject: update to 2.6.38 open https://github.com/tecnickcom/tc-lib-pdf-font/pull/15 fix typo --- composer.json | 24 ++++++++++++++++++------ php-tecnickcom-tc-lib-pdf-font.spec | 13 +++++++++---- 2 files changed, 27 insertions(+), 10 deletions(-) diff --git a/composer.json b/composer.json index 2892b97..92be060 100644 --- a/composer.json +++ b/composer.json @@ -1,11 +1,11 @@ { - "name": "tecnickcom/tc-lib-pdf-font", + "name": "tecnickcom/tc-lib-pdf-font-font", "description": "PHP library containing PDF page formats and definitions", "type": "library", "homepage": "http://www.tecnick.com", "license": "LGPL-3.0-or-later", "keywords": [ - "tc-lib-pdf-font", + "tc-lib-pdf-font-font", "PDF", "font", "TTF", @@ -29,16 +29,18 @@ "tecnickcom/tc-lib-unicode-data": "^2.0", "tecnickcom/tc-lib-pdf-encrypt": "^2.1" }, + "minimum-stability": "dev", + "prefer-stable": true, "config": { "allow-plugins": { "dealerdirect/phpcodesniffer-composer-installer": true } }, "require-dev": { - "pdepend/pdepend": "2.16.2", - "phpmd/phpmd": "2.15.0", - "phpunit/phpunit": "13.1.1 || 12.5.17 || 11.5.55 || 10.5.63", - "squizlabs/php_codesniffer": "4.0.1", + "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": { @@ -48,5 +50,15 @@ }, "autoload-dev": { "psr-4": { "Test\\": "test" } + }, + "support": { + "issues": "https://github.com/tecnickcom/tc-lib-pdf-font/issues", + "source": "https://github.com/tecnickcom/tc-lib-pdf-font" + }, + "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-pdf-font.spec b/php-tecnickcom-tc-lib-pdf-font.spec index f9fee7f..0a504d5 100644 --- a/php-tecnickcom-tc-lib-pdf-font.spec +++ b/php-tecnickcom-tc-lib-pdf-font.spec @@ -6,6 +6,9 @@ # # Please, preserve the changelog entries # + +%bcond_without tests + %global c_vendor tecnickcom %global gh_owner tecnickcom %global gh_project tc-lib-pdf-font @@ -14,8 +17,6 @@ %global forgeurl https://github.com/%{gh_owner}/%{gh_project} %global tag %{version} -%bcond_without tests - %if 0%{?fedora} %bcond_without unifont %else @@ -25,7 +26,7 @@ Name: php-%{gh_owner}-%{gh_project} Summary: PHP library containing PDF page formats and definitions License: LGPL-3.0-or-later -Version: 2.6.36 +Version: 2.6.38 Release: 1%{?dist} %forgemeta @@ -40,7 +41,7 @@ BuildArch: noarch %if %{with tests} # For tests %global phpunit %{_bindir}/phpunit11 -BuildRequires: phpunit11 >= 11.5.55 +BuildRequires: phpunit11 >= 11.5 BuildRequires: php(language) >= 8.2 BuildRequires: php-json BuildRequires: php-pcre @@ -211,6 +212,10 @@ exit $ret %changelog +* Mon Apr 20 2026 Remi Collet - 2.6.38-1 +- update to 2.6.38 +- open https://github.com/tecnickcom/tc-lib-pdf-font/pull/15 fix typo + * Tue Apr 14 2026 Remi Collet - 2.6.36-1 - update to 2.6.36 (no change) - fix default font directory -- cgit