[packages/percona-toolkit] allow inheriting .my.cnf (do not force --host param)

glen glen at pld-linux.org
Wed Apr 30 20:03:23 CEST 2014


commit 8d74ca5119d81b323b71c916780c56d32630431e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Apr 30 21:03:00 2014 +0300

    allow inheriting .my.cnf (do not force --host param)

 bug-1314696.patch    | 15 +++++++++++++++
 percona-toolkit.spec |  2 ++
 2 files changed, 17 insertions(+)
---
diff --git a/percona-toolkit.spec b/percona-toolkit.spec
index c915e22..0594da4 100644
--- a/percona-toolkit.spec
+++ b/percona-toolkit.spec
@@ -11,6 +11,7 @@ Source1:	%{name}.conf
 Source2:	%{name}.tmpfiles
 Source3:	pt-kill.init
 Patch0:		no-versioncheck.patch
+Patch1:		bug-1314696.patch
 URL:		http://www.percona.com/software/percona-toolkit/
 BuildRequires:	perl-ExtUtils-MakeMaker
 BuildRequires:	rpm-perlprov >= 4.1-13
@@ -53,6 +54,7 @@ server administration.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p2
 
 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -v
 
diff --git a/bug-1314696.patch b/bug-1314696.patch
new file mode 100644
index 0000000..9af4201
--- /dev/null
+++ b/bug-1314696.patch
@@ -0,0 +1,15 @@
+--- /usr/bin/pt-kill~	2014-04-30 18:52:07.000000000 +0300
++++ /usr/bin/pt-kill	2014-04-30 18:53:38.424343889 +0300
+@@ -7484,12 +7488,6 @@
+ 
+ Show help and exit.
+ 
+-=item --host
+-
+-short form: -h; type: string; default: localhost
+-
+-Connect to host.
+-
+ =item --interval
+ 
+ type: time
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/percona-toolkit.git/commitdiff/8d74ca5119d81b323b71c916780c56d32630431e



More information about the pld-cvs-commit mailing list