File percona-xtrabackup-2.1.x-nodoc.patch of Package xtrabackup.openSUSE_13.1_Update
From: Andreas Stieger <andreas.stieger@gmx.de>
Date: Mon, 25 Nov 2013 19:38:57 +0000
Subject: [PATCH] make Percona XtraBackup accept MySQL sources extracted using rpm %prep
Upstream: no
The rpm spec file extracts the MySQL sources during %setup,
make the build script work with that.
---
utils/build.sh | 4 ----
1 file changed, 4 deletions(-)
Index: percona-xtrabackup-2.1.6/utils/build.sh
===================================================================
--- percona-xtrabackup-2.1.6.orig/utils/build.sh 2013-11-25 19:40:22.000000000 +0000
+++ percona-xtrabackup-2.1.6/utils/build.sh 2013-11-25 19:40:26.000000000 +0000
@@ -164,7 +164,6 @@ AUTO_DOWNLOAD to \"yes\""
function unpack_and_patch()
{
local dirname=`basename "$1" ".tar.gz"`
- tar xzf $top_dir/$1
cd $dirname
patch -p1 < $top_dir/patches/$2
cd -
@@ -260,9 +259,6 @@ function build_all()
configure_file innobackupex.pl innobackupex +x
- echo "Downloading sources"
- auto_download $server_tarball
-
test -d $server_dir && rm -r $server_dir
echo "Preparing sources"