SPECS (MYSQL_5_0): mysql.spec - add xtrabackup patch, needs more or less pe...

glen glen at pld-linux.org
Tue Mar 3 01:34:32 CET 2009


Author: glen                         Date: Tue Mar  3 00:34:32 2009 GMT
Module: SPECS                         Tag: MYSQL_5_0
---- Log message:
- add xtrabackup patch, needs more or less percona patches to compile

---- Files affected:
SPECS:
   mysql.spec (1.353.2.64 -> 1.353.2.65) 

---- Diffs:

================================================================
Index: SPECS/mysql.spec
diff -u SPECS/mysql.spec:1.353.2.64 SPECS/mysql.spec:1.353.2.65
--- SPECS/mysql.spec:1.353.2.64	Tue Feb 17 10:09:34 2009
+++ SPECS/mysql.spec	Tue Mar  3 01:34:26 2009
@@ -13,6 +13,7 @@
 %bcond_without	autodeps	# BR packages needed only for resolving deps
 %bcond_with	bdb		# Berkeley DB support
 %bcond_without	sphinx		# Sphinx storage engine support
+%bcond_with	xtrabackup		# XtraBackup
 #
 %include	/usr/lib/rpm/macros.perl
 #define	_snap	20060111
@@ -79,9 +80,9 @@
 Patch27:	%{name}-split_buf_pool_mutex_fixed_optimistic_safe.patch
 Patch28:	%{name}-innodb_check_fragmentation.patch
 # </percona>
-
 Patch29:	%{name}-errorlog-no-rename.patch
 Patch30:	%{name}-alpha-stack.patch
+Patch31:	%{name}-xtrabackup.patch
 URL:		http://www.mysql.com/products/database/mysql/community_edition.html
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -508,6 +509,7 @@
 %ifarch alpha
 %patch30 -p1
 %endif
+%{?with_xtrabackup:%patch31 -p1}
 
 %build
 %{__libtoolize}
@@ -569,6 +571,11 @@
 %{__make} \
 	benchdir=$RPM_BUILD_ROOT%{_datadir}/sql-bench
 
+%if %{with xtrabackup}
+%{__make} -C innobase/xtrabackup \
+	CC="%{__cc}"
+%endif
+
 %{__make} -C Docs mysql.info
 
 %install
@@ -1054,6 +1061,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.353.2.65  2009/03/03 00:34:26  glen
+- add xtrabackup patch, needs more or less percona patches to compile
+
 Revision 1.353.2.64  2009/02/17 09:09:34  arekm
 - up to 5.0.77
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mysql.spec?r1=1.353.2.64&r2=1.353.2.65&f=u



More information about the pld-cvs-commit mailing list