Hello community, here is the log from the commit of package mytop for openSUSE:Factory checked in at 2012-07-14 09:56:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mytop (Old) and /work/SRC/openSUSE:Factory/.mytop.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mytop", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/mytop/mytop.changes 2011-11-25 10:13:00.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.mytop.new/mytop.changes 2012-07-14 11:51:07.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Jul 9 14:51:59 UTC 2012 - [email protected] + +- improved documentation of commandline parameters +- used spec-clean + +------------------------------------------------------------------- Old: ---- mytop_option.patch New: ---- mytop_option-and-doc.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mytop.spec ++++++ --- /var/tmp/diff_new_pack.sRdIQl/_old 2012-07-14 11:51:08.000000000 +0200 +++ /var/tmp/diff_new_pack.sRdIQl/_new 2012-07-14 11:51:08.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package mytop # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,21 +15,27 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: mytop -Url: http://jeremy.zawodny.com/mysql/mytop/ Version: 1.6 -Release: 86 +Release: 0 +Summary: A top Clone for MySQL +License: GPL-2.0+ Group: Productivity/Databases/Tools +Url: http://jeremy.zawodny.com/mysql/mytop/ Source: mytop-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM mytop_five_o.patch -- makes it work with mysql 5.0 Patch1: http://ebergen.net/patches/mytop_five_o.patch -Patch2: mytop_option.patch +# PATCH-FIX-UPSTREAM mytop_option-and-doc.patch [bnc#716439] [email protected] -- fixed starting failure and documentation +Patch2: mytop_option-and-doc.patch +Requires: perl = %{perl_version} +Requires: perl-DBD-mysql +Requires: perl-DBI +Requires: perl-TermReadKey BuildRoot: %{_tmppath}/%{name}-%{version}-build -Summary: A top Clone for MySQL -License: GPL-2.0+ -Requires: perl = %{perl_version} perl-DBI perl-DBD-mysql perl-TermReadKey +%if %{undefined suse_version} +BuildRequires: perl-macros +%endif BuildArch: noarch %description @@ -40,16 +46,10 @@ - If you install Time::HiRes, get good real-time queries/second stats. - - -Authors: --------- - Jeremy Zawodny <[email protected]> - %prep %setup -n mytop-%{version} %patch1 -%patch2 +%patch2 -p1 %build perl Makefile.PL @@ -59,20 +59,20 @@ make test %install -make DESTDIR=$RPM_BUILD_ROOT install_vendor +make DESTDIR=%{buildroot} install_vendor %perl_process_packlist %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes %doc %{_mandir}/man?/mytop.1.gz -/usr/bin/mytop -%if 0%{suse_version} < 1140 -%{perl_vendorarch}/auto/mytop/.packlist -/var/adm/perl-modules/%{name} +%{_bindir}/mytop +%if 0%{?suse_version} < 1140 +%{perl_vendorarch}/auto/mytop +%{_localstatedir}/adm/perl-modules/%{name} %endif %changelog ++++++ mytop_option-and-doc.patch ++++++ --- mytop-1.6/mytop.orig 2007-02-17 05:57:46.000000000 +0100 +++ mytop-1.6/mytop 2012-07-09 16:05:42.000000000 +0200 @@ -153,9 +153,9 @@ "idle|i" => \$config{idle}, "resolve|r" => \$config{resolve}, "prompt!" => \$config{prompt}, - "long|!" => \$config{long_nums}, + "long|l!" => \$config{long_nums}, "mode|m=s" => \$config{mode}, - "sort=s" => \$config{sort}, + "sort=s" => \$config{sort} ); ## User may have put the port with the host. @@ -1766,6 +1766,33 @@ Default: noresolve +=item B<-l> or B<-long> or B<-nolong> + +Show numbers in full length instead of compress them like 1,000 -> 1.0k + +Default: nolong + +=item B<-m> or B<-mode> mode + +Choose display mode. Can be one of + +B<top> top-style display mode + +B<qps> (Queries Per Second) will write out one integer per second. The + number written reflects the number of queries executed by the server + in the previous one second interval. + +B<cmd> show statistics about the commands that are currently being + executed. + +B<innodb> InnoDB Status mode. The output of "SHOW INNODB STATUS" will + be displayed every cycle. In a future version, this may actually + summarize that data rather than producing raw output. + +B<status> Show status variables + +Default: top + =back Command-line arguments will always take precedence over config file -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
