commit f8f6f4210701ea316eb1c3ab56965cbb15fee526
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Mar 3 00:34:26 2009 +0000

    - add xtrabackup patch, needs more or less percona patches to compile
    
    Changed files:
        mysql.spec -> 1.353.2.65

 mysql.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/mysql.spec b/mysql.spec
index f9ee442..e9eb315 100644
--- a/mysql.spec
+++ b/mysql.spec
@@ -12,6 +12,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
@@ -78,9 +79,9 @@ Patch26:      %{name}-show_patches.patch
 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
@@ -507,6 +508,7 @@ mv sphinx-*/mysqlse sql/sphinx
 %ifarch alpha
 %patch30 -p1
 %endif
+%{?with_xtrabackup:%patch31 -p1}
 
 %build
 %{__libtoolize}
@@ -568,6 +570,11 @@ echo -e "all:\ninstall:\nclean:\nlink_sources:\n" > 
libmysqld/examples/Makefile
 %{__make} \
        benchdir=$RPM_BUILD_ROOT%{_datadir}/sql-bench
 
+%if %{with xtrabackup}
+%{__make} -C innobase/xtrabackup \
+       CC="%{__cc}"
+%endif
+
 %{__make} -C Docs mysql.info
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/percona-server.git/commitdiff/431f68fe79a66d5dfdd53f2655709e6c925fbc22

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to