]> git.pld-linux.org Git - packages/mysqltuner.git/commitdiff
up to 1.2.0 auto/th/mysqltuner-1.2.0-1
authorElan Ruusamäe <glen@delfi.ee>
Fri, 12 Apr 2013 08:57:23 +0000 (11:57 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 12 Apr 2013 08:57:23 +0000 (11:57 +0300)
mysqltuner.patch
mysqltuner.spec

index d3b7d367f3029e7ab0f7269ec44b4fdb2e5be77f..0bbd570f434a275b661460546f8d18093ab72013 100644 (file)
@@ -1,7 +1,7 @@
 TODO: cook perlish which(), or hardcode
 
---- ./mysqltuner       2008-11-27 00:28:03.594608254 +0200
-+++ ./mysqltuner       2008-11-27 00:27:41.121275469 +0200
+--- ./mysqltuner.pl    2008-11-27 00:28:03.594608254 +0200
++++ ./mysqltuner.pl    2008-11-27 00:27:41.121275469 +0200
 @@ -34,7 +34,6 @@
  #
  use strict;
index 0bff575cd4a8434e6dcaee3fe9ff5890bb660858..8856de95da91cf777a1ab32301f062bb24343554 100644 (file)
@@ -3,21 +3,21 @@
 %include       /usr/lib/rpm/macros.perl
 Summary:       High Performance MySQL Tuning Script
 Name:          mysqltuner
-Version:       0.9.9
-Release:       0.3
+Version:       1.2.0
+Release:       1
 License:       GPL v3+
-Group:         Daemons
-URL:           http://rackerhacker.com/mysqltuner/
-Source0:       http://mysqltuner.com/%{name}.pl
+Group:         Applications
+Source0:       https://github.com/rackerhacker/MySQLTuner-perl/archive/v%{version}.tar.gz?/%{name}-%{version}.tgz
+# Source0-md5: 036c0e0254c66016ef87cb5ddff4b8e1
 Patch0:                %{name}.patch
-# Source0-md5: 097ceed8577ff4dbed134970fd8781e4
+URL:           https://github.com/rackerhacker/MySQLTuner-perl
 BuildRequires: rpm-perlprov >= 4.1-13
 Requires:      mysql-client
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-MySQLTuner is a high-performance MySQL tuning script written in perl
+MySQLTuner is a high-performance MySQL tuning script written in Perl
 that will provide you with a snapshot of a MySQL server's health.
 Based on the statistics gathered, specific recommendations will be
 provided that will increase a MySQL server's efficiency and
@@ -28,18 +28,18 @@ This script has been derived from many of the ideas in Matthew
 Montgomery's MySQL tuning primer script.
 
 %prep
-%setup -q -c -T
-%{__sed} -e 's,\r$,,' %{SOURCE0} > %{name}
+%setup -q -n MySQLTuner-perl-%{version}
 %patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_sbindir}
-install %{name} $RPM_BUILD_ROOT%{_sbindir}/%{name}
+install -p %{name}.pl $RPM_BUILD_ROOT%{_sbindir}/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc README
 %attr(755,root,root) %{_sbindir}/%{name}
This page took 0.056703 seconds and 4 git commands to generate.