[packages/php-pecl-solr] patch to build under php 7.2
glen
glen at pld-linux.org
Tue Aug 7 15:05:28 CEST 2018
commit d4505b63048e763bb099ad03e13b1d76c280288d
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Tue Aug 7 16:04:45 2018 +0300
patch to build under php 7.2
- https://github.com/php/pecl-search_engine-solr/commit/744e32915d5989101267ed2c84a407c582dc6f31
- https://bugs.php.net/bug.php?id=75631
php-pecl-solr.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/php-pecl-solr.spec b/php-pecl-solr.spec
index 2ed3c81..e320a09 100644
--- a/php-pecl-solr.spec
+++ b/php-pecl-solr.spec
@@ -9,12 +9,14 @@ Summary: Object oriented API to Apache Solr
Summary(fr.UTF-8): API orientée objet pour Apache Solr
Name: %{php_name}-pecl-solr
Version: 2.4.0
-Release: 2
+Release: 3
License: PHP v3.01
Group: Development/Languages
Source0: https://pecl.php.net/get/%{modname}-%{version}.tgz
# Source0-md5: 2c9accf66681a3daaaf371bc07e44902
Patch0: tests-online.patch
+Patch2: https://github.com/php/pecl-search_engine-solr/commit/744e32915d5989101267ed2c84a407c582dc6f31.patch
+# Patch2-md5: 3536677810c1123e4be00a9da56cff5a
URL: https://pecl.php.net/package/solr
BuildRequires: %{php_name}-cli
BuildRequires: %{php_name}-curl
@@ -82,6 +84,7 @@ possible de se connecter à des serveurs via SSL.
%setup -qc
mv %{modname}-%{version}/* .
%{!?with_network_tests:%patch0 -p1}
+%patch2 -p1
cat <<'EOF' > run-tests.sh
#!/bin/sh
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-solr.git/commitdiff/d4505b63048e763bb099ad03e13b1d76c280288d
More information about the pld-cvs-commit
mailing list