summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json2
-rw-r--r--php-tecnickcom-tc-lib-pdf-font.spec21
2 files changed, 14 insertions, 9 deletions
diff --git a/composer.json b/composer.json
index 68f824f..2892b97 100644
--- a/composer.json
+++ b/composer.json
@@ -37,7 +37,7 @@
"require-dev": {
"pdepend/pdepend": "2.16.2",
"phpmd/phpmd": "2.15.0",
- "phpunit/phpunit": "13.0.5 || 12.5.14 || 11.5.55 || 10.5.63",
+ "phpunit/phpunit": "13.1.1 || 12.5.17 || 11.5.55 || 10.5.63",
"squizlabs/php_codesniffer": "4.0.1",
"phpcompatibility/php-compatibility": "^10.0.0@dev"
},
diff --git a/php-tecnickcom-tc-lib-pdf-font.spec b/php-tecnickcom-tc-lib-pdf-font.spec
index 786589b..0228ac5 100644
--- a/php-tecnickcom-tc-lib-pdf-font.spec
+++ b/php-tecnickcom-tc-lib-pdf-font.spec
@@ -6,13 +6,13 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 77608a11a5cfc595aa492355edaa3ecc844978dd
-%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global c_vendor tecnickcom
%global gh_owner tecnickcom
%global gh_project tc-lib-pdf-font
%global php_project %{_datadir}/php/Com/Tecnick/Pdf/Font
%global font_version 2.1.0
+%global forgeurl https://github.com/%{gh_owner}/%{gh_project}
+%global tag %{version}
%bcond_without tests
@@ -23,13 +23,14 @@
%endif
Name: php-%{gh_owner}-%{gh_project}
-Version: 2.6.34
-Release: 1%{?dist}
Summary: PHP library containing PDF page formats and definitions
-
License: LGPL-3.0-or-later
-URL: https://github.com/%{gh_owner}/%{gh_project}
-Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{?gh_short}.tar.gz
+Version: 2.6.36
+Release: 1%{?dist}
+
+%forgemeta
+URL: %{forgeurl}
+Source0: %{forgesource}
Source1: https://github.com/tecnickcom/tc-font-mirror/archive/refs/tags/%{font_version}.tar.gz
# Fix path
@@ -104,7 +105,8 @@ The initial source code has been extracted from TCPDF (http://www.tcpdf.org).
%prep
-%setup -q -n %{gh_project}-%{gh_commit} -a 1
+%forgesetup
+tar xf %{SOURCE1}
%patch -P0 -p0 -b .rpm
: Sanity check
@@ -208,6 +210,9 @@ exit $ret
%changelog
+* Tue Apr 14 2026 Remi Collet <remi@remirepo.net> - 2.6.36-1
+- update to 2.6.36 (no change)
+
* Tue Mar 31 2026 Remi Collet <remi@remirepo.net> - 2.6.34-1
- update to 2.6.34 (no change)