summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-05-10 09:25:27 +0200
committerRemi Collet <fedora@famillecollet.com>2013-05-10 09:25:27 +0200
commitb3b8f94d2814c697ac4a6aab6520e2cdb60ec362 (patch)
tree32506a875206470e57b88e1351be84dc1c9bb597
parentc85d0c5e0e84c66871c861f994e81e9fa6470dee (diff)
php-tcpdf: drop bundled fonts (need another solution to use system ones)
-rw-r--r--php-tcpdf.spec8
1 files changed, 8 insertions, 0 deletions
diff --git a/php-tcpdf.spec b/php-tcpdf.spec
index 15ab9cd..5b4bd37 100644
--- a/php-tcpdf.spec
+++ b/php-tcpdf.spec
@@ -87,6 +87,13 @@ solution. You can optionally install php-pecl-imagick; TCPDF will use it.
find ./ -type d -exec chmod 755 {} \;
find ./ -type f -exec chmod 644 {} \;
+: remove bundled fonts
+rm -rf fonts/dejavu-fonts-ttf* fonts/freefont-*
+for fic in fonts/*.z
+do
+ rm -f $fic ${fic/.z/.php}
+done
+
: remove composer
rm -f composer.json
@@ -193,6 +200,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri May 10 2013 Remi Collet <remi@fedoraproject.org> - 6.0.012-2
- improve cache ownership, on folder per web server
+- drop bundled fonts
* Thu May 09 2013 Johan Cwiklinski <johan AT x-tnd DOt be> - 6.0.012-1
- Initial packaging