]> git.pld-linux.org Git - packages/mysql.git/commitdiff
- add xtrabackup patch, needs more or less percona patches to compile
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 3 Mar 2009 00:34:26 +0000 (00:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mysql.spec -> 1.353.2.65

mysql.spec

index f9ee44287f4d77121f63321fd229cf5db7bc35c6..e9eb315ef98209e30279a7970ea9cb4df7c1954c 100644 (file)
@@ -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
This page took 0.083108 seconds and 4 git commands to generate.