Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mytop for openSUSE:Factory checked in at 2024-02-23 16:46:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mytop (Old) and /work/SRC/openSUSE:Factory/.mytop.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mytop" Fri Feb 23 16:46:05 2024 rev:22 rq:1149716 version:1.6 Changes: -------- --- /work/SRC/openSUSE:Factory/mytop/mytop.changes 2015-04-23 08:04:11.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.mytop.new.1770/mytop.changes 2024-02-23 16:47:13.383456598 +0100 @@ -1,0 +2,12 @@ +Fri Feb 23 08:37:24 UTC 2024 - Martin Pluskal <mplus...@suse.com> + +- Modernise spec file +- Do not use url for patch mytop_five_o.patch as its no longer + accessible + +------------------------------------------------------------------- +Thu Feb 22 11:35:04 UTC 2024 - pgaj...@suse.com + +- Use %patch -P N instead of deprecated %patchN. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mytop.spec ++++++ --- /var/tmp/diff_new_pack.DQaOAf/_old 2024-02-23 16:47:13.911475746 +0100 +++ /var/tmp/diff_new_pack.DQaOAf/_new 2024-02-23 16:47:13.915475891 +0100 @@ -1,7 +1,7 @@ # # spec file for package mytop # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,23 +20,19 @@ Version: 1.6 Release: 0 Summary: A top Clone for MySQL -License: GPL-2.0+ -Group: Productivity/Databases/Tools -Url: http://jeremy.zawodny.com/mysql/mytop/ +License: GPL-2.0-or-later +URL: https://jeremy.zawodny.com/mysql/mytop/ Source: http://jeremy.zawodny.com/mysql/mytop/mytop-%{version}.tar.gz # PATCH-FIX-UPSTREAM mytop_five_o.patch -- makes it work with mysql 5.0 -Patch1: http://ebergen.net/patches/mytop_five_o.patch +Patch1: mytop_five_o.patch # PATCH-FIX-UPSTREAM mytop_option-and-doc.patch [bnc#716439] c...@suse.de -- 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 BuildArch: noarch -%if %{undefined suse_version} BuildRequires: perl-macros -%endif %description mytop is a console-based (non-GUI) tool for monitoring the threads and @@ -47,28 +43,21 @@ - If you install Time::HiRes, get good real-time queries/second stats. %prep -%setup -q -n mytop-%{version} -%patch1 -%patch2 -p1 +%autosetup -p1 %build perl Makefile.PL -make %{?_smp_mflags} +%make_build %check -make %{?_smp_mflags} test +%make_build test %install make DESTDIR=%{buildroot} install_vendor %perl_process_packlist %files -%defattr(-,root,root,-) %doc Changes -%{_mandir}/man?/mytop.1.gz +%{_mandir}/man?/mytop.1%{?ext_man} %{_bindir}/mytop -%if 0%{?suse_version} < 1140 -%{perl_vendorarch}/auto/mytop -%{_localstatedir}/adm/perl-modules/%{name} -%endif ++++++ mytop_five_o.patch ++++++ --- /var/tmp/diff_new_pack.DQaOAf/_old 2024-02-23 16:47:13.963477631 +0100 +++ /var/tmp/diff_new_pack.DQaOAf/_new 2024-02-23 16:47:13.967477776 +0100 @@ -1,6 +1,8 @@ ---- mytop 2003-08-04 10:31:14.000000000 -0700 -+++ mytop.bak 2006-12-08 22:14:08.000000000 -0800 -@@ -252,18 +252,21 @@ +Index: mytop-1.6/mytop +=================================================================== +--- mytop-1.6.orig/mytop ++++ mytop-1.6/mytop +@@ -262,18 +262,21 @@ ReadMode($RM_RESET) unless $config{batch ## Get static data @@ -15,7 +17,7 @@ +if ($db_version =~ /^5/) +{ + $global = 'global'; -+} ++} + +my @variables = Hashes("show $global variables"); @@ -29,7 +31,7 @@ if ($_->{Variable_name} eq "have_query_cache") { if ($_->{Value} eq 'YES') -@@ -669,7 +672,7 @@ +@@ -710,7 +713,7 @@ sub GetData() ## if ($config{header}) { ++++++ mytop_option-and-doc.patch ++++++ --- /var/tmp/diff_new_pack.DQaOAf/_old 2024-02-23 16:47:13.979478211 +0100 +++ /var/tmp/diff_new_pack.DQaOAf/_new 2024-02-23 16:47:13.983478357 +0100 @@ -1,6 +1,8 @@ ---- 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 @@ +Index: mytop-1.6/mytop +=================================================================== +--- mytop-1.6.orig/mytop ++++ mytop-1.6/mytop +@@ -153,9 +153,9 @@ GetOptions( "idle|i" => \$config{idle}, "resolve|r" => \$config{resolve}, "prompt!" => \$config{prompt}, @@ -12,7 +14,7 @@ ); ## User may have put the port with the host. -@@ -1766,6 +1766,33 @@ +@@ -1769,6 +1769,33 @@ with hostnames but toggling this option. Default: noresolve