summaryrefslogtreecommitdiffstats
path: root/php-tecnickcom-tc-lib-pdf-parser.spec
diff options
context:
space:
mode:
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