]> git.pld-linux.org Git - packages/percona-server.git/commitdiff
- add bcond for rocksdb
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 27 Dec 2017 20:28:50 +0000 (21:28 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 27 Dec 2017 20:28:50 +0000 (21:28 +0100)
percona-server.spec

index f6a05d7173707113ee1757ca43887fb0263cf5b0..0edf3663e3b62ca19fb78134dafa71840ab8be5d 100644 (file)
@@ -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*
This page took 0.243814 seconds and 4 git commands to generate.