[packages/php-pecl-solr] up to 2.4.0; adds php7 support

glen glen at pld-linux.org
Thu Nov 9 22:31:53 CET 2017


commit 19ad5280168144bd525ac858370e78f1cc164873
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Nov 9 23:25:02 2017 +0200

    up to 2.4.0; adds php7 support

 php-pecl-solr.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/php-pecl-solr.spec b/php-pecl-solr.spec
index 46ff258..0b988c6 100644
--- a/php-pecl-solr.spec
+++ b/php-pecl-solr.spec
@@ -8,12 +8,12 @@
 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.1.0
+Version:	2.4.0
 Release:	1
 License:	PHP v3.01
 Group:		Development/Languages
 Source0:	https://pecl.php.net/get/%{modname}-%{version}.tgz
-# Source0-md5:	258865d4517312afda6890827f18f93f
+# Source0-md5:	2c9accf66681a3daaaf371bc07e44902
 Patch0:		tests-online.patch
 URL:		https://pecl.php.net/package/solr
 BuildRequires:	%{php_name}-devel >= 4:5.3.0
@@ -79,13 +79,13 @@ possible de se connecter à des serveurs via SSL.
 %prep
 %setup -qc
 mv %{modname}-%{version}/* .
-#%{!?with_network_tests:%patch0 -p1}
+%{!?with_network_tests:%patch0 -p1}
 
 %build
 packagexml2cl package.xml > ChangeLog
 
 # Check version
-extver=$(awk -F'"' '/define PHP_SOLR_VERSION / {print $2}' php_solr_version.h)
+extver=$(awk -F'"' '/define PHP_SOLR_VERSION / {print $2}' src/php%{php_major_version}/php_solr_version.h)
 if test "x${extver}" != "x%{version}"; then
 	: Error: Upstream version is ${extver}, expecting %{version}.
 	exit 1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-solr.git/commitdiff/19ad5280168144bd525ac858370e78f1cc164873



More information about the pld-cvs-commit mailing list