From b3b8f94d2814c697ac4a6aab6520e2cdb60ec362 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 10 May 2013 09:25:27 +0200 Subject: php-tcpdf: drop bundled fonts (need another solution to use system ones) --- php-tcpdf.spec | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'php-tcpdf.spec') 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 - 6.0.012-2 - improve cache ownership, on folder per web server +- drop bundled fonts * Thu May 09 2013 Johan Cwiklinski - 6.0.012-1 - Initial packaging -- cgit