From d4fbc1c3b3d84caf4dc7ec00b8af18717222a4b1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 19 Aug 2024 11:25:45 +0200 Subject: update to 2.4.2 --- php-tecnickcom-tc-lib-pdf-font.spec | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) (limited to 'php-tecnickcom-tc-lib-pdf-font.spec') diff --git a/php-tecnickcom-tc-lib-pdf-font.spec b/php-tecnickcom-tc-lib-pdf-font.spec index 08bfb41..8cb47ba 100644 --- a/php-tecnickcom-tc-lib-pdf-font.spec +++ b/php-tecnickcom-tc-lib-pdf-font.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit 7e3591c5d4aa3c06d2916dda82a29685bd9b793d +%global gh_commit ae38d738c087e2fdb8d1a070cb7998ed5dd1c9e0 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global c_vendor tecnickcom %global gh_owner tecnickcom @@ -16,7 +16,7 @@ %global font_version 2.1.0 Name: php-%{gh_owner}-%{gh_project} -Version: 2.2.3 +Version: 2.4.2 Release: 1%{?dist} Summary: PHP library containing PDF page formats and definitions @@ -38,18 +38,9 @@ BuildRequires: php-json BuildRequires: php-pcre BuildRequires: php-spl BuildRequires: php-zlib -%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(%{c_vendor}/tc-lib-file) >= 2.0 with php-composer(%{c_vendor}/tc-lib-file) < 3) 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-pdf-encrypt) >= 2.1 with php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 3) -%else -BuildRequires: php-%{c_vendor}-tc-lib-file < 3 -BuildRequires: php-%{c_vendor}-tc-lib-file >= 2.0 -BuildRequires: php-%{c_vendor}-tc-lib-unicode-data < 3 -BuildRequires: php-%{c_vendor}-tc-lib-unicode-data >= 2.0 -BuildRequires: php-%{c_vendor}-tc-lib-pdf-encrypt < 3 -BuildRequires: php-%{c_vendor}-tc-lib-pdf-encrypt >= 2.1 -%endif %endif BuildRequires: php-fedora-autoloader-devel @@ -66,18 +57,9 @@ Requires: php-json Requires: php-pcre Requires: php-spl Requires: php-zlib -%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(%{c_vendor}/tc-lib-file) >= 2.0 with php-composer(%{c_vendor}/tc-lib-file) < 3) 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-pdf-encrypt) >= 2.1 with php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 3) -%else -Requires: php-%{c_vendor}-tc-lib-file < 3 -Requires: php-%{c_vendor}-tc-lib-file >= 2.0 -Requires: php-%{c_vendor}-tc-lib-unicode-data < 3 -Requires: php-%{c_vendor}-tc-lib-unicode-data >= 2.0 -Requires: php-%{c_vendor}-tc-lib-pdf-encrypt < 3 -Requires: php-%{c_vendor}-tc-lib-pdf-encrypt >= 2.1 -%endif # From phpcompatinfo report for version 2.0.8 # none Requires: php-composer(fedora/autoloader) @@ -137,7 +119,7 @@ EOF sed -e 's:/util/vendor/tecnickcom/tc-font-mirror/:/tc-font-mirror-2.1.0/:' -i test/*php ret=0 -for cmdarg in php php81 php82 php83; do +for cmdarg in php php81 php82 php83 php84; do if which $cmdarg; then set $cmdarg cp phpunit.xml.dist phpunit.xml @@ -152,8 +134,6 @@ exit $ret %files -# remirepo:1 -%{!?_licensedir:%global license %%doc} %license LICENSE %doc composer.json %doc *.md @@ -163,6 +143,9 @@ exit $ret %changelog +* Mon Aug 19 2024 Remi Collet - 2.4.2-1 +- update to 2.4.2 + * Fri Apr 12 2024 Remi Collet - 2.2.3-1 - update to 2.2.3 -- cgit