File percona-xtrabackup-2.1.x-nodoc.patch of Package xtrabackup.openSUSE_13.1_Update
From: Andreas Stieger <andreas.stieger@gmx.de>
Date: Sat, 25 Jan 2014 23:54:26 +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 | 8 --------
1 file changed, 8 deletions(-)
Index: percona-xtrabackup-2.1.7/utils/build.sh
===================================================================
--- percona-xtrabackup-2.1.7.orig/utils/build.sh 2014-01-23 14:59:36.000000000 +0000
+++ percona-xtrabackup-2.1.7/utils/build.sh 2014-01-26 00:35:25.000000000 +0000
@@ -164,11 +164,6 @@ AUTO_DOWNLOAD to \"yes\""
function unpack_and_patch()
{
local dirname=`basename "$1" ".tar.gz"`
- if [ -f $top_dir/$1 ]; then
- tar xzf $top_dir/$1
- else
- tar xfJ $top_dir/$dirname.tar.xz
- fi
cd $dirname
patch -p1 < $top_dir/patches/$2
cd -
@@ -264,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"