[packages/xtrabackup] - proper dir for plugins, package them

adamg adamg at pld-linux.org
Thu Oct 18 09:26:58 CEST 2018


commit 62913e452d2b540744f4b25c1aee1e01d115a774
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Thu Oct 18 09:25:33 2018 +0200

    - proper dir for plugins, package them

 xtrabackup.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/xtrabackup.spec b/xtrabackup.spec
index 0a1c962..3e9b658 100644
--- a/xtrabackup.spec
+++ b/xtrabackup.spec
@@ -3,7 +3,7 @@
 Summary:	XtraBackup online backup for MySQL / InnoDB
 Name:		xtrabackup
 Version:	2.4.12
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Applications/Databases
 Source0:	https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-%{version}/source/tarball/percona-%{name}-%{version}.tar.gz
@@ -64,6 +64,7 @@ cd build
 	-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{rpmcflags} -DNDEBUG -fno-omit-frame-pointer -fno-strict-aliasing" \
 	-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{rpmcxxflags} -DNDEBUG -fno-omit-frame-pointer -fno-strict-aliasing" \
 	-DENABLE_DTRACE=OFF \
+	-DINSTALL_PLUGINDIR="%{_lib}/xtrabackup/plugins" \
 	-DMYSQL_UNIX_ADDR=/var/lib/mysql/mysql.sock \
 	-DWITH_PIC=ON \
 	-DWITH_READLINE=system \
@@ -101,3 +102,4 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/xbcrypt.1*
 %{_mandir}/man1/xbstream.1*
 %{_mandir}/man1/xtrabackup.1*
+%{_libdir}/%{name}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xtrabackup.git/commitdiff/62913e452d2b540744f4b25c1aee1e01d115a774



More information about the pld-cvs-commit mailing list