rpms/mysqltuner/devel import.log, NONE, 1.1 mysqltuner-0.9.1-checkversion.patch, NONE, 1.1 mysqltuner.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Sat Jun 21 18:15:27 UTC 2008
Author: scop
Update of /cvs/pkgs/rpms/mysqltuner/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5334/devel
Modified Files:
.cvsignore sources
Added Files:
import.log mysqltuner-0.9.1-checkversion.patch mysqltuner.spec
Log Message:
Initial import (#452172)
--- NEW FILE import.log ---
mysqltuner-0_9_1-1:HEAD:mysqltuner-0.9.1-1.src.rpm:1214071517
mysqltuner-0.9.1-checkversion.patch:
--- NEW FILE mysqltuner-0.9.1-checkversion.patch ---
Index: mysqltuner.pl
===================================================================
--- mysqltuner.pl (revision 37)
+++ mysqltuner.pl (working copy)
@@ -50,7 +50,7 @@
"noinfo" => 0,
"nocolor" => 0,
"skipsize" => 0,
- "skipversion" => 0,
+ "checkversion" => 0,
);
# Gather the options from the command line
@@ -60,7 +60,7 @@
'noinfo',
'nocolor',
'skipsize',
- 'skipversion',
+ 'checkversion',
'help',
);
@@ -79,7 +79,7 @@
" Performance and Reporting Options\n".
" --skipsize Don't enumerate tables and their types/sizes\n".
" (Recommended for servers with many tables)\n".
- " --skipversion Don't check for updates to MySQLTuner\n\n".
+ " --checkversion Check for updates to MySQLTuner\n\n".
" Output Options:\n".
" --nogood Remove OK responses\n".
" --nobad Remove negative/suggestion responses\n".
@@ -269,7 +269,7 @@
# Checks for updates to MySQLTuner
sub validate_tuner_version {
print "\n-------- General Statistics --------------------------------------------------\n";
- if ($opt{skipversion} eq 1) {
+ if ($opt{checkversion} ne 1) {
infoprint "Skipped version check for MySQLTuner script\n";
return;
}
--- NEW FILE mysqltuner.spec ---
Name: mysqltuner
Version: 0.9.1
Release: 1
Summary: MySQL high performance tuning script
Group: Applications/Databases
License: GPLv3+
URL: http://mysqltuner.com/
Source0: http://mysqltuner.com/mysqltuner.pl.gz
# Sent upstream @0.9.0 time, seems rejected.
Patch0: %{name}-0.9.1-checkversion.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: mysql
Requires: which
%description
MySQLTuner is a MySQL high performance 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
performance. The script gives you automated MySQL tuning that is on
the level of what you would receive from a MySQL DBA.
%prep
%setup -q -c -T
gzip -dc %{SOURCE0} > mysqltuner.pl
%patch0
sed -i -e 's/\r\+//g' mysqltuner.pl
%build
%install
rm -rf $RPM_BUILD_ROOT
install -Dpm 755 mysqltuner.pl $RPM_BUILD_ROOT%{_bindir}/mysqltuner
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/mysqltuner
%changelog
* Thu Jun 19 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.9.1-1
- 0.9.1.
- Patch to not "phone home" by default (--skipversion -> --checkversion).
* Sat Apr 12 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.9.0-1
- 0.9.0.
* Sun Mar 2 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.8.6-1
- 0.8.6.
* Mon Feb 18 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.8.5-1
- 0.8.5.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/mysqltuner/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 21 Jun 2008 15:30:24 -0000 1.1
+++ .cvsignore 21 Jun 2008 18:14:16 -0000 1.2
@@ -0,0 +1 @@
+mysqltuner.pl.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/mysqltuner/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 21 Jun 2008 15:30:24 -0000 1.1
+++ sources 21 Jun 2008 18:14:16 -0000 1.2
@@ -0,0 +1 @@
+56f3e3aa6cf9f1c2573c937ca6190fb3 mysqltuner.pl.gz
More information about the scm-commits
mailing list