[packages/percona-server] - rel 2; reenable sphinx but: SphinxSE is not supported anymore starting from 3.0 anyway. Switching

arekm arekm at pld-linux.org
Sat Mar 10 20:40:27 CET 2018


commit 4c62e38419a541d56d01fbb7b17ee1458efd18e8
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Mar 10 20:40:20 2018 +0100

    - rel 2; reenable sphinx but: SphinxSE is not supported anymore starting from 3.0 anyway. Switching to SphinxQL is recommended.

 percona-server.spec | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/percona-server.spec b/percona-server.spec
index 87b30dc..9f68144 100644
--- a/percona-server.spec
+++ b/percona-server.spec
@@ -29,7 +29,7 @@
 %bcond_without	ssl		# OpenSSL support
 %bcond_with	systemtap	# systemtap/dtrace probes
 %bcond_without	tcpd		# libwrap (tcp_wrappers) support
-%bcond_with	sphinx		# Sphinx storage engine support
+%bcond_without	sphinx		# Sphinx storage engine support
 %bcond_without	tokudb		# TokuDB
 %bcond_without	rocksdb		# RocksDB
 # mysql needs boost 1.59.0 and doesn't support newer/older boost versions
@@ -43,7 +43,7 @@
 %undefine	with_tokudb
 %endif
 
-%define		rel	1
+%define		rel	2
 %define		percona_rel	20
 %include	/usr/lib/rpm/macros.perl
 Summary:	Percona Server: a very fast and reliable SQL database engine
@@ -87,7 +87,9 @@ Patch7:		lz4.patch
 
 Patch11:	mysql-upgrade.patch
 Patch12:	mysql-config.patch
-Patch18:	mysql-sphinx.patch
+Patch17:	mysql-sphinx.patch
+# https://github.com/sphinxsearch/sphinx/pull/32/
+Patch18:	mysql-5.7-sphinx.patch
 Patch19:	mysql-chain-certs.patch
 # from fedora
 Patch20:	mysql-dubious-exports.patch
@@ -498,7 +500,10 @@ Ten pakiet zawiera standardowego demona Percona Server NDB CPC.
 %if %{with sphinx}
 # http://www.sphinxsearch.com/docs/manual-0.9.9.html#sphinxse-mysql51
 mv sphinx-*/mysqlse storage/sphinx
-%patch18 -p1
+%patch17 -p1
+cd storage/sphinx
+%patch18 -p2
+cd ../..
 %endif
 %patch1 -p1
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/percona-server.git/commitdiff/4c62e38419a541d56d01fbb7b17ee1458efd18e8



More information about the pld-cvs-commit mailing list