summaryrefslogtreecommitdiffstats
path: root/php-solarium.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-02-02 13:07:37 +0100
committerRemi Collet <fedora@famillecollet.com>2017-02-02 13:07:37 +0100
commitafb3093868f72e3cf3d7a663fca1f38d95ec5729 (patch)
tree1bbb0041ad5871645351f5ecab58bf4cd90e9788 /php-solarium.spec
parent5ff85a31e08f956de637dbdf953f42888c2e247c (diff)
php-solarium: add patch for PHP 5.3
Diffstat (limited to 'php-solarium.spec')
-rw-r--r--php-solarium.spec7
1 files changed, 7 insertions, 0 deletions
diff --git a/php-solarium.spec b/php-solarium.spec
index 5184b4c..4835c41 100644
--- a/php-solarium.spec
+++ b/php-solarium.spec
@@ -23,6 +23,10 @@ Group: Development/Libraries
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz
Source1: %{name}-autoload.php
+# https://github.com/solariumphp/solarium/pull/479
+# fix for PHP 5.3 (EPEL-6)
+Patch0: %{name}-pr479.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%if %{with_tests}
@@ -82,6 +86,7 @@ Documentation: http://wiki.solarium-project.org/
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+%patch0 -p1
rm examples/.gitignore
@@ -145,6 +150,8 @@ exit $ret
%changelog
* Wed Feb 1 2017 Remi Collet <remi@fedoraproject.org> - 3.8.0-1
- update to 3.8.0
+- open https://github.com/solariumphp/solarium/pull/479
+ fix for PHP 5.3 in EL-6
* Fri Oct 28 2016 Remi Collet <remi@fedoraproject.org> - 3.7.0-1
- update to 3.7.0