[php-tcpdf] update to 6.0.018 (no change, only fix for example)
Remi Collet
remi at fedoraproject.org
Sat Jun 1 05:47:16 UTC 2013
commit 3b5868d7267088a56a3725ef23f5d9b8a6c61b54
Author: Remi Collet <remi at fedoraproject.org>
Date: Sat Jun 1 07:46:49 2013 +0200
update to 6.0.018 (no change, only fix for example)
.gitignore | 2 ++
php-tcpdf.spec | 20 ++++++++------------
sources | 2 +-
3 files changed, 11 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 625c6d7..bb6f3ce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
+*spec~
/tcpdf_6_0_017.zip
+/tcpdf_6_0_018.zip
diff --git a/php-tcpdf.spec b/php-tcpdf.spec
index 820913b..feeaae5 100644
--- a/php-tcpdf.spec
+++ b/php-tcpdf.spec
@@ -1,10 +1,10 @@
-%global dl_version 6_0_017
+%global dl_version %(c=%{version}; echo ${c//./_})
%global real_name tcpdf
Name: php-tcpdf
Summary: PHP class for generating PDF documents
-Version: 6.0.017
-Release: 2%{?dist}
+Version: 6.0.018
+Release: 1%{?dist}
URL: http://www.tcpdf.org
License: LGPLv3+
@@ -14,7 +14,6 @@ Source0: http://downloads.sourceforge.net/%{real_name}/%{real_name}_%{dl_
BuildArch: noarch
BuildRequires: php-cli
-BuildRequires: php-posix
Requires: php(language) >= 5.3
Requires: php-bcmath
@@ -30,8 +29,7 @@ Requires: php-spl
Requires: php-tidy
Requires: php-xml
Requires: php-zlib
-#imagick is optionnal (and conflicts with gmagick)
-#Requires: php-pecl(imagick)
+# imagick is optionnal (and conflicts with gmagick)
%description
@@ -193,12 +191,6 @@ This package allow to use system GNU FreeFont serif font faces in TCPDF.
%prep
%setup -qn %{real_name}
-#patch0 -p1
-
-: fix barcode examples
-sed -e "s:dirname(__FILE__).'/../../:'tcpdf/:" \
- -i examples/barcodes/*php
-
: remove bundled fonts
rm -rf fonts/dejavu-fonts-ttf* fonts/freefont-*
for fic in fonts/*.z
@@ -292,6 +284,10 @@ php tools/tcpdf_addfont.php \
%changelog
+* Sat Jun 1 2013 Remi Collet <remi at fedoraproject.org> - 6.0.018-1
+- update to 6.0.018
+- barcode examples now works out of the box
+
* Sat May 18 2013 Remi Collet <remi at fedoraproject.org> - 6.0.017-2
- split fonts, 1 subpackage per font package
- spec cleanups
diff --git a/sources b/sources
index 78bf60d..3d2def4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f4fd6b5ff4bd677bc76f3a43a6e2c0ab tcpdf_6_0_017.zip
+a5c5fe4770f43d2c7ab501724b70ca64 tcpdf_6_0_018.zip
More information about the scm-commits
mailing list