summaryrefslogtreecommitdiffstats
path: root/php-tecnickcom-tc-lib-pdf-parser.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-07-02 15:01:43 +0200
committerRemi Collet <fedora@famillecollet.com>2015-07-02 15:01:43 +0200
commit082c0eeca57018632563b63b45592e3f79546b73 (patch)
treeac45c988431f04c55b7ee77c4bbe68544f40fed4 /php-tecnickcom-tc-lib-pdf-parser.spec
parent9b430380f2e719651e9f4d5df8f9eba05b4a0068 (diff)
php-tecnickcom-tc-lib-pdf-parser: fir php < 5.5 compat
Diffstat (limited to 'php-tecnickcom-tc-lib-pdf-parser.spec')
-rw-r--r--php-tecnickcom-tc-lib-pdf-parser.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/php-tecnickcom-tc-lib-pdf-parser.spec b/php-tecnickcom-tc-lib-pdf-parser.spec
index cc99c7a..96ad021 100644
--- a/php-tecnickcom-tc-lib-pdf-parser.spec
+++ b/php-tecnickcom-tc-lib-pdf-parser.spec
@@ -25,6 +25,7 @@ URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{?gh_short}.tar.gz
Patch0: %{name}-pr1.patch
+Patch1: %{name}-pr2.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -60,6 +61,7 @@ The initial source code has been extracted from TCPDF (http://www.tcpdf.org).
%setup -q -n %{gh_project}-%{gh_commit}
%patch0 -p1
+%patch1 -p1
: Sanity check
grep -q '^%{version}$' VERSION
@@ -116,4 +118,6 @@ rm -rf %{buildroot}
* Thu Jul 2 2015 Remi Collet <remi@fedoraproject.org> - 2.1.0-1
- initial package, version 2.1.0
- open https://github.com/tecnickcom/tc-lib-pdf-parser/pull/1
- fix autoloader \ No newline at end of file
+ fix autoloader
+- open https://github.com/tecnickcom/tc-lib-pdf-parser/pull/2
+ php < 5.5 compatibility