summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-01-03 11:11:26 +0100
committerRemi Collet <remi@php.net>2022-01-03 11:11:26 +0100
commit89c1f2fc28ec922ec7497417096449e63085c3c4 (patch)
tree7ea6abffead62eb6f5202fbf2e506b19d88a382d
parentb6547babcfee2209d2ed26c82ef5babf7805c885 (diff)
update to 6.4.4
-rw-r--r--composer.json2
-rw-r--r--php-tcpdf.spec19
2 files changed, 11 insertions, 10 deletions
diff --git a/composer.json b/composer.json
index 381798f..c31514b 100644
--- a/composer.json
+++ b/composer.json
@@ -12,7 +12,7 @@
"barcodes"
],
"homepage": "http://www.tcpdf.org/",
- "version": "6.4.2",
+ "version": "6.4.4",
"license": "LGPL-3.0-only",
"authors": [
{
diff --git a/php-tcpdf.spec b/php-tcpdf.spec
index df7feb3..42c1118 100644
--- a/php-tcpdf.spec
+++ b/php-tcpdf.spec
@@ -1,13 +1,14 @@
# remirepo/Fedora spec file for php-tcpdf
#
-# Copyright (c) 2013-2021 Remi Collet, Johan Cwiklinski
+# Copyright (c) 2013-2022 Remi Collet
+# Copyright (c) 2013 Remi Collet, Johan Cwiklinski
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
# see https://github.com/tecnickcom/TCPDF/releases
-%global gh_commit 172540dcbfdf8dc983bc2fe78feff48ff7ec1c76
+%global gh_commit 42cd0f9786af7e5db4fcedaa66f717b0d0032320
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner tecnickcom
#global gh_date 20201209
@@ -16,7 +17,7 @@
Name: php-tcpdf
Summary: PHP class for generating PDF documents and barcodes
-Version: 6.4.2
+Version: 6.4.4
Release: 1%{?gh_date:.%{gh_date}.%{gh_short}}%{?dist}
URL: http://www.tcpdf.org
@@ -248,19 +249,16 @@ install -m 0755 tools/%{real_name}_addfont.php \
%{buildroot}%{_bindir}/%{real_name}_addfont
# Fonts
-list=""
for ttf in \
/usr/share/fonts/dejav*/*ttf \
/usr/share/fonts/gnu-free/*ttf \
-; do
- list=$ttf${list:+,${list}}
-done
-php -d memory_limit=1G tools/tcpdf_addfont.php \
+; do php -d memory_limit=1G tools/tcpdf_addfont.php \
--addcbbox \
--flags 32 \
- --fonts $list \
+ --fonts $ttf \
--link \
--outpath %{buildroot}%{_datadir}/php/%{real_name}/fonts/
+done
ls %{buildroot}%{_datadir}/php/%{real_name}/fonts/dejavuserif* |
sed -e 's:^%{buildroot}::' | tee dejavu-serif.lst
@@ -324,6 +322,9 @@ php -r 'require "%{buildroot}%{_datadir}/php/%{real_name}/autoload.php";
%changelog
+* Mon Jan 3 2022 Remi Collet <remi@remirepo.net> - 6.4.4-1
+- update to 6.4.4
+
* Wed Jul 21 2021 Remi Collet <remi@remirepo.net> - 6.4.2-1
- update to 6.4.2