[packages/percona-server] - add bcond for rocksdb

baggins baggins at pld-linux.org
Wed Dec 27 21:29:08 CET 2017


commit 5ed7e15265b2005e6c39849147f95b25dcbe979e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Dec 27 21:28:50 2017 +0100

    - add bcond for rocksdb

 percona-server.spec | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/percona-server.spec b/percona-server.spec
index f6a05d7..0edf366 100644
--- a/percona-server.spec
+++ b/percona-server.spec
@@ -31,6 +31,7 @@
 %bcond_without	tcpd		# libwrap (tcp_wrappers) support
 %bcond_with	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
 %bcond_with	system_boost	# Use system boost package
 %bcond_with	tests		# FIXME: don't run correctly
@@ -38,6 +39,7 @@
 
 # tokudb is only supported on x86_64
 %ifnarch %{x8664}
+%undefine	with_rocksdb
 %undefine	with_tokudb
 %endif
 
@@ -738,12 +740,6 @@ fi
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
 %attr(640,root,mysql) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/clusters.conf
-%ifarch %{x8664}
-%attr(755,root,root) %{_bindir}/ldb
-%attr(755,root,root) %{_bindir}/mysql_ldb
-%attr(755,root,root) %{_bindir}/sst_dump
-%attr(755,root,root) %{_libdir}/%{name}/plugin/ha_rocksdb.so
-%endif
 %attr(755,root,root) %{_bindir}/ps_mysqld_helper
 %attr(755,root,root) %{_bindir}/ps_tokudb_admin
 %attr(755,root,root) %{_bindir}/ps-admin
@@ -830,6 +826,12 @@ fi
 %attr(755,root,root) %{_libdir}/%{name}/plugin/tokudb_backup.so
 %attr(755,root,root) %{_libdir}/libHotBackup.so
 %endif
+%if %{with rocksdb}
+%attr(755,root,root) %{_bindir}/ldb
+%attr(755,root,root) %{_bindir}/mysql_ldb
+%attr(755,root,root) %{_bindir}/sst_dump
+%attr(755,root,root) %{_libdir}/%{name}/plugin/ha_rocksdb.so
+%endif
 # for plugins
 #%attr(755,root,root) %{_libdir}/libmysqlservices.so
 %{_mandir}/man1/innochecksum.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/percona-server.git/commitdiff/5ed7e15265b2005e6c39849147f95b25dcbe979e



More information about the pld-cvs-commit mailing list