commit kvm_stat for openSUSE:Factory
Hello community, here is the log from the commit of package kvm_stat for openSUSE:Factory checked in at 2020-03-11 22:03:39 Comparing /work/SRC/openSUSE:Factory/kvm_stat (Old) and /work/SRC/openSUSE:Factory/.kvm_stat.new.3160 (New) Package is "kvm_stat" Wed Mar 11 22:03:39 2020 rev:11 rq:784061 version:MACRO Changes: --- /work/SRC/openSUSE:Factory/kvm_stat/kvm_stat.changes2019-09-25 08:48:28.12889 +0200 +++ /work/SRC/openSUSE:Factory/.kvm_stat.new.3160/kvm_stat.changes 2020-03-11 22:04:53.901995023 +0100 @@ -1,0 +2,62 @@ +Wed Mar 11 19:12:26 UTC 2020 - Bruce Rogers + +- Remove legacy compatability patching, since that usage no longer + needs to be single sourced with this current package. Python3 is + now assumed. Also get rid of the final patch based on running + 2to3, since those changes are not really needed: the kvm_stat now + in the current kernel source is good python3 code + Patches removed: + 0001-tools-kvm_stat-fix-event-counts-display-for-interrup.patch + 0002-tools-kvm_stat-fix-undue-use-of-initial-sleeptime.patch + 0003-tools-kvm_stat-remove-unnecessary-header-redraws.patch + 0004-tools-kvm_stat-simplify-line-print-logic.patch + 0005-tools-kvm_stat-remove-extra-statement.patch + 0006-tools-kvm_stat-simplify-initializers.patch + 0007-tools-kvm_stat-move-functions-to-corresponding-class.patch + 0008-tools-kvm_stat-show-cursor-in-selection-screens.patch + 0009-tools-kvm_stat-display-message-indicating-lack-of-ev.patch + 0010-tools-kvm_stat-make-heading-look-a-bit-more-like-top.patch + 0011-tools-kvm_stat-rename-Current-column-to-CurAvg-s.patch + 0012-tools-kvm_stat-add-new-interactive-command-h.patch + 0013-tools-kvm_stat-add-new-interactive-command-s.patch + 0014-tools-kvm_stat-add-new-interactive-command-o.patch + 0015-tools-kvm_stat-display-guest-list-in-pid-guest-selec.patch + 0016-tools-kvm_stat-fix-error-on-interactive-command-g.patch + 0017-tools-kvm_stat-add-new-command-line-switch-i.patch + 0018-tools-kvm_stat-add-new-interactive-command-b.patch + 0019-tools-kvm_stat-add-f-help-to-get-the-available-event.patch + 0020-tools-kvm_stat-Add-Python-3-support-to-kvm_stat.patch + 0021-tools-kvm_stat-fix-command-line-option-g.patch + 0022-tools-kvm_stat-fix-drilldown-in-events-by-guests-mod.patch + 0023-tools-kvm_stat-fix-missing-field-update-after-filter.patch + 0024-tools-kvm_stat-fix-extra-handling-of-help-with-field.patch + 0025-tools-kvm_stat-add-hint-on-f-help-to-man-page.patch + 0026-tools-kvm_stat-fix-child-trace-events-accounting.patch + 0027-tools-kvm_stat-handle-invalid-regular-expressions.patch + 0028-tools-kvm_stat-suppress-usage-information-on-command.patch + 0029-tools-kvm_stat-stop-ignoring-unhandled-arguments.patch + 0030-tools-kvm_stat-add-line-for-totals.patch + 0031-tools-kvm_stat-sort-f-help-output.patch + 0032-tools-kvm_stat-simplify-the-sortkey-function.patch + 0033-tools-kvm_stat-use-a-namedtuple-for-storing-the-valu.patch + 0034-tools-kvm_stat-use-a-more-pythonic-way-to-iterate-ov.patch + 0035-tools-kvm_stat-avoid-is-for-equality-checks.patch + 0036-tools-kvm_stat-fix-crash-when-filtering-out-all-non-.patch + 0037-tools-kvm_stat-print-error-on-invalid-regex.patch + 0038-tools-kvm_stat-fix-debugfs-handling.patch + 0039-tools-kvm_stat-mark-private-methods-as-such.patch + 0040-tools-kvm_stat-eliminate-extra-guest-pid-selection-d.patch + 0041-tools-kvm_stat-separate-drilldown-and-fields-filteri.patch + 0042-tools-kvm_stat-group-child-events-indented-after-par.patch + 0043-tools-kvm_stat-print-Total-line-for-multiple-events-.patch + 0044-tools-kvm_stat-Don-t-use-deprecated-file.patch + 0045-tools-kvm_stat-fix-python3-issues.patch + 0046-tools-kvm_stat-apply-python-2to3-fixes-to-kvm_stat.patch + 0047-tools-kvm_stat-apply-python-2to3-fixes-to-kvm_stat2.patch + 0048-tools-kvm_stat-apply-python-2to3-fixes-to-kvm_stat3.patch + 0049-tools-kvm_stat-switch-python-reference-to-be-explici.patch + 0050-tools-kvm_stat-switch-python-reference-again.patch + Patches added: + tools-kvm_stat-explicitly-reference-python3.patch + +--- Old: 0001-tools-kvm_stat-fix-event-counts-display-for-interrup.patch 0002-tools-kvm_stat-fix-undue-use-of-initial-sleeptime.patch 0003-tools-kvm_stat-remove-unnecessary-header-redraws.patch 0004-tools-kvm_stat-simplify-line-print-logic.patch 0005-tools-kvm_stat-remove-extra-statement.patch 0006-tools-kvm_stat-simplify-initializers.patch 0007-tools-kvm_stat-move-functions-to-corresponding-class.patch 0008-tools-kvm_stat-show-cursor-in-selection-screens.patch 0009-tools-kvm_stat-display-message-indicating-lack-of-ev.patch 0010-tools-kvm_stat-make-heading-look-a-bit-more-like-top.patch
commit kvm_stat for openSUSE:Factory
Hello community, here is the log from the commit of package kvm_stat for openSUSE:Factory checked in at 2019-09-25 08:48:25 Comparing /work/SRC/openSUSE:Factory/kvm_stat (Old) and /work/SRC/openSUSE:Factory/.kvm_stat.new.7948 (New) Package is "kvm_stat" Wed Sep 25 08:48:25 2019 rev:10 rq:732970 version:MACRO Changes: --- /work/SRC/openSUSE:Factory/kvm_stat/kvm_stat.changes2019-09-13 15:03:54.877274641 +0200 +++ /work/SRC/openSUSE:Factory/.kvm_stat.new.7948/kvm_stat.changes 2019-09-25 08:48:28.12889 +0200 @@ -1,0 +2,5 @@ +Tue Sep 24 14:40:53 UTC 2019 - Bruce Rogers + +- Fix our patching for Leap 15.1 (boo#1140899) + +--- Other differences: -- ++ kvm_stat.spec ++ --- /var/tmp/diff_new_pack.WKo2NP/_old 2019-09-25 08:48:29.694222679 +0200 +++ /var/tmp/diff_new_pack.WKo2NP/_new 2019-09-25 08:48:29.694222679 +0200 @@ -97,12 +97,12 @@ # copy necessary files from kernel-source (tar -C /usr/src/linux -c COPYING tools scripts) | tar -x -%define SLE15_SP1 (0%{?sle_version} == 150100 && 0%{?is_opensuse} != 1) +%define SLE15_SP1_OR_LEAP15_1 0%{?sle_version} == 150100 %define FACTORY (0%{?is_opensuse} && 0%{?suse_version} > 1500) %define SLE_LEAP_15 (0%{?sle_version} <= 15 && 0%{?suse_version} <= 1500) %define SLE_LEAP_15_2 (0%{?sle_version} == 150200 && 0%{?suse_version} <= 1500) -# Only apply the first few patches to SLES15-SP1 -%if %{SLE15_SP1} +# Only apply the first few patches to SLES15-SP1 and Leap 15.1 +%if %{SLE15_SP1_OR_LEAP15_1} %patch0 -p1 %patch1 -p1 %patch2 -p1
commit kvm_stat for openSUSE:Factory
Hello community, here is the log from the commit of package kvm_stat for openSUSE:Factory checked in at 2019-09-13 15:02:28 Comparing /work/SRC/openSUSE:Factory/kvm_stat (Old) and /work/SRC/openSUSE:Factory/.kvm_stat.new.7948 (New) Package is "kvm_stat" Fri Sep 13 15:02:28 2019 rev:9 rq:730468 version:MACRO Changes: --- /work/SRC/openSUSE:Factory/kvm_stat/kvm_stat.changes2019-08-07 14:00:32.200853437 +0200 +++ /work/SRC/openSUSE:Factory/.kvm_stat.new.7948/kvm_stat.changes 2019-09-13 15:03:54.877274641 +0200 @@ -1,0 +2,5 @@ +Thu Sep 12 17:42:23 UTC 2019 - Bruce Rogers + +- Detect SLE15-SP2 / Leap 15.2 and patch accordingly + +--- Other differences: -- ++ kvm_stat.spec ++ --- /var/tmp/diff_new_pack.LYJjEu/_old 2019-09-13 15:03:55.897274424 +0200 +++ /var/tmp/diff_new_pack.LYJjEu/_new 2019-09-13 15:03:55.901274423 +0200 @@ -97,12 +97,12 @@ # copy necessary files from kernel-source (tar -C /usr/src/linux -c COPYING tools scripts) | tar -x -%define SLE15_SP1 0%{?sle_version} == 150100 && 0%{?is_opensuse} != 1 -%define FACTORY 0%{?is_opensuse} && 0%{?suse_version} > 1500 -%define SLE_LEAP_15 0%{?sle_version} <= 15 && 0%{?suse_version} <= 1500 - +%define SLE15_SP1 (0%{?sle_version} == 150100 && 0%{?is_opensuse} != 1) +%define FACTORY (0%{?is_opensuse} && 0%{?suse_version} > 1500) +%define SLE_LEAP_15 (0%{?sle_version} <= 15 && 0%{?suse_version} <= 1500) +%define SLE_LEAP_15_2 (0%{?sle_version} == 150200 && 0%{?suse_version} <= 1500) # Only apply the first few patches to SLES15-SP1 -%if 0%{?SLE15_SP1} +%if %{SLE15_SP1} %patch0 -p1 %patch1 -p1 %patch2 -p1 @@ -152,12 +152,12 @@ %endif # If the build is SLE15 / Leap 15 or older -%if 0%{?SLE_LEAP_15} +%if %{SLE_LEAP_15} %patch46 -p1 %endif -# If the build is Factory or Tumbleweed only -%if 0%{?FACTORY} +# If the build is Factory or Tumbleweed or SLE15SP2 / Leap 15.2 +%if %{FACTORY} || %{SLE_LEAP_15_2} %patch47 -p1 %patch49 -p1 %else
commit kvm_stat for openSUSE:Factory
Hello community, here is the log from the commit of package kvm_stat for openSUSE:Factory checked in at 2019-08-07 14:00:27 Comparing /work/SRC/openSUSE:Factory/kvm_stat (Old) and /work/SRC/openSUSE:Factory/.kvm_stat.new.9556 (New) Package is "kvm_stat" Wed Aug 7 14:00:27 2019 rev:8 rq:721317 version:MACRO Changes: --- /work/SRC/openSUSE:Factory/kvm_stat/kvm_stat.changes2019-03-14 22:43:09.818623979 +0100 +++ /work/SRC/openSUSE:Factory/.kvm_stat.new.9556/kvm_stat.changes 2019-08-07 14:00:32.200853437 +0200 @@ -1,0 +2,6 @@ +Tue Aug 6 15:11:54 UTC 2019 - Bruce Rogers + +- Adjust a patch that no longer applies due to upstream (non-code) + changes + +--- Other differences: -- ++ 0050-tools-kvm_stat-switch-python-reference-again.patch ++ --- /var/tmp/diff_new_pack.FQISCd/_old 2019-08-07 14:00:34.644853410 +0200 +++ /var/tmp/diff_new_pack.FQISCd/_new 2019-08-07 14:00:34.644853410 +0200 @@ -17,9 +17,9 @@ @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/python3 + # SPDX-License-Identifier: GPL-2.0-only # # top-like utility for displaying kvm statistics - # -- 2.19.1
commit kvm_stat for openSUSE:Factory
Hello community, here is the log from the commit of package kvm_stat for openSUSE:Factory checked in at 2019-03-14 22:43:08 Comparing /work/SRC/openSUSE:Factory/kvm_stat (Old) and /work/SRC/openSUSE:Factory/.kvm_stat.new.28833 (New) Package is "kvm_stat" Thu Mar 14 22:43:08 2019 rev:7 rq:685114 version:MACRO Changes: --- /work/SRC/openSUSE:Factory/kvm_stat/kvm_stat.changes2018-12-03 10:10:20.515711698 +0100 +++ /work/SRC/openSUSE:Factory/.kvm_stat.new.28833/kvm_stat.changes 2019-03-14 22:43:09.818623979 +0100 @@ -1,0 +2,7 @@ +Thu Mar 14 19:11:49 UTC 2019 - Bruce Rogers + +- Add python3 tweak to be compatible with v5.0 kernel source + (bsc#1116822) + + 0050-tools-kvm_stat-switch-python-reference-again.patch + +--- New: 0050-tools-kvm_stat-switch-python-reference-again.patch Other differences: -- ++ kvm_stat.spec ++ --- /var/tmp/diff_new_pack.VZWdHE/_old 2019-03-14 22:43:12.606623011 +0100 +++ /var/tmp/diff_new_pack.VZWdHE/_new 2019-03-14 22:43:12.614623009 +0100 @@ -1,7 +1,7 @@ # # spec file for package kvm_stat # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -85,6 +85,7 @@ Patch46:0047-tools-kvm_stat-apply-python-2to3-fixes-to-kvm_stat2.patch Patch47:0048-tools-kvm_stat-apply-python-2to3-fixes-to-kvm_stat3.patch Patch48:0049-tools-kvm_stat-switch-python-reference-to-be-explici.patch +Patch49:0050-tools-kvm_stat-switch-python-reference-again.patch %description This package provides a userspace tool "kvm_stat", which displays KVM vm exit @@ -158,9 +159,10 @@ # If the build is Factory or Tumbleweed only %if 0%{?FACTORY} %patch47 -p1 -%endif - +%patch49 -p1 +%else %patch48 -p1 +%endif %build make -C tools/kvm/kvm_stat %{?_smp_mflags} ++ 0050-tools-kvm_stat-switch-python-reference-again.patch ++ From: Bruce Rogers Date: Wed, 14 Mar 2019 16:28:25 -0700 Subject: [PATCH] tools/kvm_stat: switch python reference again This time, from /usr/bin/env python3 to be /usr/bin/python3 [BR: BSC#1116822] Signed-off-by: Bruce Rogers --- tools/kvm/kvm_stat/kvm_stat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/kvm/kvm_stat/kvm_stat b/tools/kvm/kvm_stat/kvm_stat index ed6518bf2ab5..2a95389d2864 100755 --- a/tools/kvm/kvm_stat/kvm_stat +++ b/tools/kvm/kvm_stat/kvm_stat @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/python3 # # top-like utility for displaying kvm statistics # -- 2.19.1
commit kvm_stat for openSUSE:Factory
Hello community, here is the log from the commit of package kvm_stat for openSUSE:Factory checked in at 2018-11-12 09:43:04 Comparing /work/SRC/openSUSE:Factory/kvm_stat (Old) and /work/SRC/openSUSE:Factory/.kvm_stat.new (New) Package is "kvm_stat" Mon Nov 12 09:43:04 2018 rev:5 rq:647688 version:MACRO Changes: --- /work/SRC/openSUSE:Factory/kvm_stat/kvm_stat.changes2018-07-28 12:45:16.116975356 +0200 +++ /work/SRC/openSUSE:Factory/.kvm_stat.new/kvm_stat.changes 2018-11-12 09:43:49.388974146 +0100 @@ -1,0 +2,6 @@ +Fri Nov 9 21:50:56 UTC 2018 - Bruce Rogers + +- Add "Requires: python-curses" in kvm_stat.spec as this package + needs to be installed to make kvm_stat work. (bsc#1114465) + +--- Other differences: -- ++ kvm_stat.spec ++ --- /var/tmp/diff_new_pack.Tnf9ys/_old 2018-11-12 09:43:51.472970964 +0100 +++ /var/tmp/diff_new_pack.Tnf9ys/_new 2018-11-12 09:43:51.476970957 +0100 @@ -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/ # @@ -29,6 +29,8 @@ BuildRequires: kernel-source >= 4.7.0 BuildRequires: libxslt-tools +Requires: python-curses + Recommends: kernel >= 4.7.0 Conflicts: qemu < 2.6.90 Conflicts: qemu-kvm < 2.6.90
commit kvm_stat for openSUSE:Factory
Hello community, here is the log from the commit of package kvm_stat for openSUSE:Factory checked in at 2018-07-28 12:45:13 Comparing /work/SRC/openSUSE:Factory/kvm_stat (Old) and /work/SRC/openSUSE:Factory/.kvm_stat.new (New) Package is "kvm_stat" Sat Jul 28 12:45:13 2018 rev:4 rq:625781 version:MACRO Changes: --- /work/SRC/openSUSE:Factory/kvm_stat/kvm_stat.changes2017-12-08 13:01:13.845358221 +0100 +++ /work/SRC/openSUSE:Factory/.kvm_stat.new/kvm_stat.changes 2018-07-28 12:45:16.116975356 +0200 @@ -1,0 +2,13 @@ +Thu Jul 26 16:00:40 UTC 2018 - brog...@suse.com + +- Add a qemu package conflicts directive since SLE releases provided + the kvm_stat script via the qemu package, while older openSUSE + releases had provided it through qemu-kvm, which is already + handled. (bsc#1102746 related) +- Change package to be noarch. kvm_stat is written in python, and + is useful to multiple architectures which have kvm support. +- Drop the kernel README and CREDITS files, since they don't really + represent this package in any meaningful way. +- Minor spec file tweaks performed. + +--- Other differences: -- ++ kvm_stat.spec ++ --- /var/tmp/diff_new_pack.671s5B/_old 2018-07-28 12:45:16.736976483 +0200 +++ /var/tmp/diff_new_pack.671s5B/_new 2018-07-28 12:45:16.736976483 +0200 @@ -1,7 +1,7 @@ # # spec file for package kvm_stat # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,14 +21,16 @@ Version:%{version} Release:0 Summary:Monitoring Tool for KVM guests -License:GPL-2.0 +License:GPL-2.0-only Group: System/Monitoring Url:http://www.kernel.org/ +BuildArch: noarch BuildRequires: asciidoc BuildRequires: kernel-source >= 4.7.0 BuildRequires: libxslt-tools Recommends: kernel >= 4.7.0 +Conflicts: qemu < 2.6.90 Conflicts: qemu-kvm < 2.6.90 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -40,7 +42,7 @@ %prep # copy necessary files from kernel-source -(tar -C /usr/src/linux -c COPYING CREDITS README tools scripts) | tar -x +(tar -C /usr/src/linux -c COPYING tools scripts) | tar -x %build make -C tools/kvm/kvm_stat %{?_smp_mflags} @@ -50,7 +52,7 @@ %files %defattr(-, root, root) -%doc COPYING CREDITS README +%license COPYING %{_bindir}/kvm_stat %{_mandir}/man1/kvm_stat*
commit kvm_stat for openSUSE:Factory
Hello community, here is the log from the commit of package kvm_stat for openSUSE:Factory checked in at 2017-12-08 13:00:55 Comparing /work/SRC/openSUSE:Factory/kvm_stat (Old) and /work/SRC/openSUSE:Factory/.kvm_stat.new (New) Package is "kvm_stat" Fri Dec 8 13:00:55 2017 rev:3 rq:555014 version:MACRO Changes: --- /work/SRC/openSUSE:Factory/kvm_stat/kvm_stat.changes2016-11-11 14:34:20.0 +0100 +++ /work/SRC/openSUSE:Factory/.kvm_stat.new/kvm_stat.changes 2017-12-08 13:01:13.845358221 +0100 @@ -1,0 +2,6 @@ +Thu Dec 7 11:11:39 UTC 2017 - dims...@opensuse.org + +- Escape the usage of %{VERSION} when calling out to rpm. + RPM 4.14 has %{VERSION} defined as 'the main packages version'. + +--- Other differences: -- ++ kvm_stat.spec ++ --- /var/tmp/diff_new_pack.f79HAc/_old 2017-12-08 13:01:15.141311417 +0100 +++ /var/tmp/diff_new_pack.f79HAc/_new 2017-12-08 13:01:15.145311273 +0100 @@ -17,7 +17,7 @@ Name: kvm_stat -%define version %(rpm -q --qf '%{VERSION}' kernel-source) +%define version %(rpm -q --qf '%%{VERSION}' kernel-source) Version:%{version} Release:0 Summary:Monitoring Tool for KVM guests
commit kvm_stat for openSUSE:Factory
Hello community, here is the log from the commit of package kvm_stat for openSUSE:Factory checked in at 2016-11-11 14:34:18 Comparing /work/SRC/openSUSE:Factory/kvm_stat (Old) and /work/SRC/openSUSE:Factory/.kvm_stat.new (New) Package is "kvm_stat" Changes: --- /work/SRC/openSUSE:Factory/kvm_stat/kvm_stat.changes2016-10-31 09:54:15.0 +0100 +++ /work/SRC/openSUSE:Factory/.kvm_stat.new/kvm_stat.changes 2016-11-11 14:34:20.0 +0100 @@ -1,0 +2,5 @@ +Sun Oct 30 15:57:20 UTC 2016 - jeng...@inai.de + +- Simplify copying around + +--- Other differences: -- ++ kvm_stat.spec ++ --- /var/tmp/diff_new_pack.ovwbG9/_old 2016-11-11 14:34:21.0 +0100 +++ /var/tmp/diff_new_pack.ovwbG9/_new 2016-11-11 14:34:21.0 +0100 @@ -33,14 +33,14 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -This package provides a userspace tool 'kvm_stat', which displays KVM vm exit +This package provides a userspace tool "kvm_stat", which displays KVM vm exit information as a means of monitoring vm behavior. The data is taken from the KVM debugfs files or the vm tracepoints and outputs them as a curses ui or simple text. %prep # copy necessary files from kernel-source -(cd /usr/src/linux ; tar -cf - COPYING CREDITS README tools scripts) | tar -xf - +(tar -C /usr/src/linux -c COPYING CREDITS README tools scripts) | tar -x %build make -C tools/kvm/kvm_stat %{?_smp_mflags}