From 03231876ae9e8439177a56585301cc1a47b5bca5 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 2 Mar 2021 10:06:38 +0000 Subject: [PATCH 01/40] OCaml 4.12.0 build --- virt-top.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/virt-top.spec b/virt-top.spec index 6b08e6b..74703d7 100644 --- a/virt-top.spec +++ b/virt-top.spec @@ -3,7 +3,7 @@ Name: virt-top Version: 1.0.9 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Utility like top(1) for displaying virtualization stats License: GPLv2+ @@ -119,6 +119,9 @@ install -m 0644 processcsv.py.1 $RPM_BUILD_ROOT%{_mandir}/man1/ %changelog +* Tue Mar 2 10:06:37 GMT 2021 Richard W.M. Jones - 1.0.9-18 +- OCaml 4.12.0 build + * Wed Jan 27 2021 Fedora Release Engineering - 1.0.9-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 1679dffe3c705c25667b86196ef26978a6a13cc8 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 8 Mar 2021 12:22:04 +0000 Subject: [PATCH 02/40] Bump and rebuild for ocaml-gettext update. --- virt-top.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/virt-top.spec b/virt-top.spec index 74703d7..c24c96b 100644 --- a/virt-top.spec +++ b/virt-top.spec @@ -3,7 +3,7 @@ Name: virt-top Version: 1.0.9 -Release: 18%{?dist} +Release: 19%{?dist} Summary: Utility like top(1) for displaying virtualization stats License: GPLv2+ @@ -119,6 +119,9 @@ install -m 0644 processcsv.py.1 $RPM_BUILD_ROOT%{_mandir}/man1/ %changelog +* Mon Mar 8 2021 Richard W.M. Jones - 1.0.9-19 +- Bump and rebuild for ocaml-gettext update. + * Tue Mar 2 10:06:37 GMT 2021 Richard W.M. Jones - 1.0.9-18 - OCaml 4.12.0 build From 10a4ef41ea11a7d5069e0d2fab8869fc94092c06 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 8 Mar 2021 12:25:41 +0000 Subject: [PATCH 03/40] Bump and rebuild for ocaml-gettext update. --- virt-top.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/virt-top.spec b/virt-top.spec index 6b08e6b..3a10194 100644 --- a/virt-top.spec +++ b/virt-top.spec @@ -3,7 +3,7 @@ Name: virt-top Version: 1.0.9 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Utility like top(1) for displaying virtualization stats License: GPLv2+ @@ -119,6 +119,9 @@ install -m 0644 processcsv.py.1 $RPM_BUILD_ROOT%{_mandir}/man1/ %changelog +* Mon Mar 8 2021 Richard W.M. Jones - 1.0.9-18 +- Bump and rebuild for ocaml-gettext update. + * Wed Jan 27 2021 Fedora Release Engineering - 1.0.9-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 8b4a0bddfae616829f6eeb322cb4b51774ef493e Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 7 May 2021 13:35:05 +0100 Subject: [PATCH 04/40] Do not include the package on POWER on RHEL 9 resolves: rhbz#1956935 --- virt-top.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/virt-top.spec b/virt-top.spec index c24c96b..af845ae 100644 --- a/virt-top.spec +++ b/virt-top.spec @@ -3,10 +3,15 @@ Name: virt-top Version: 1.0.9 -Release: 19%{?dist} +Release: 20%{?dist} Summary: Utility like top(1) for displaying virtualization stats License: GPLv2+ +%if 0%{?rhel} +# No qemu-kvm on POWER (RHBZ#1946532). +ExcludeArch: %{power64} +%endif + URL: http://people.redhat.com/~rjones/virt-top/ Source0: http://people.redhat.com/~rjones/virt-top/files/%{name}-%{version}.tar.gz @@ -119,6 +124,10 @@ install -m 0644 processcsv.py.1 $RPM_BUILD_ROOT%{_mandir}/man1/ %changelog +* Fri May 07 2021 Richard W.M. Jones - 1.0.9-20 +- Do not include the package on POWER on RHEL 9 + resolves: rhbz#1956935 + * Mon Mar 8 2021 Richard W.M. Jones - 1.0.9-19 - Bump and rebuild for ocaml-gettext update. From f66a45e5693b0cd6a73b5edb8da555ae7e53ac62 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 20:33:34 +0000 Subject: [PATCH 05/40] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- virt-top.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/virt-top.spec b/virt-top.spec index af845ae..9af683c 100644 --- a/virt-top.spec +++ b/virt-top.spec @@ -3,7 +3,7 @@ Name: virt-top Version: 1.0.9 -Release: 20%{?dist} +Release: 21%{?dist} Summary: Utility like top(1) for displaying virtualization stats License: GPLv2+ @@ -124,6 +124,9 @@ install -m 0644 processcsv.py.1 $RPM_BUILD_ROOT%{_mandir}/man1/ %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 1.0.9-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri May 07 2021 Richard W.M. Jones - 1.0.9-20 - Do not include the package on POWER on RHEL 9 resolves: rhbz#1956935 From 3d2e7bcbbf2901fe78d0e0a72fd830a19f111ab7 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 1 Oct 2021 16:49:16 +0100 Subject: [PATCH 06/40] New upstream development version 1.1.0 Upstream switched to automake, simplifying the downstream build slightly. Remove Changelog file, no longer included upstream. --- .gitignore | 1 + ...-Handle-VIR_DOMAIN_PMSUSPENDED-state.patch | 40 ------------------- sources | 3 +- virt-top.spec | 33 +++++---------- 4 files changed, 14 insertions(+), 63 deletions(-) delete mode 100644 0001-libvirt-Handle-VIR_DOMAIN_PMSUSPENDED-state.patch diff --git a/.gitignore b/.gitignore index 1362986..b4fa33e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /.build*.log /clog /virt-top-*.tar.gz +/virt-top-1.1.0.tar.gz.sig diff --git a/0001-libvirt-Handle-VIR_DOMAIN_PMSUSPENDED-state.patch b/0001-libvirt-Handle-VIR_DOMAIN_PMSUSPENDED-state.patch deleted file mode 100644 index c29b6d6..0000000 --- a/0001-libvirt-Handle-VIR_DOMAIN_PMSUSPENDED-state.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 24a461715d5bce47f63cb0097606fc336230589f Mon Sep 17 00:00:00 2001 -From: Stephane Glondu -Date: Wed, 21 Aug 2019 17:24:47 +0200 -Subject: [PATCH] libvirt: Handle VIR_DOMAIN_PMSUSPENDED state. - -Fixes FTBFS with ocaml-libvirt 0.6.1.5. - -RWMJ: Added documentation and changed the letter to 'M'. ---- - src/screen.ml | 1 + - src/virt-top.pod | 4 ++++ - 2 files changed, 5 insertions(+) - -diff --git a/src/screen.ml b/src/screen.ml -index 0d847a2..8a66ba6 100644 ---- a/src/screen.ml -+++ b/src/screen.ml -@@ -50,3 +50,4 @@ let show_state = function - | D.InfoShutdown -> 'D' - | D.InfoShutoff -> 'O' - | D.InfoCrashed -> 'X' -+ | D.InfoPMSuspended -> 'M' -diff --git a/src/virt-top.pod b/src/virt-top.pod -index 4d81608..76ad3f9 100644 ---- a/src/virt-top.pod -+++ b/src/virt-top.pod -@@ -492,6 +492,10 @@ Shutdown. - - Crashed. - -+=item B -+ -+Suspended by guest power management. -+ - =back - - =item B