From 41ba08647254e9ce93ed2a3efe7da6a31759762ca2ac68747d44037eb700b531 Mon Sep 17 00:00:00 2001 From: James Fehlig Date: Fri, 12 Apr 2024 21:37:52 +0000 Subject: [PATCH] - spec: Add 'Requires: netcat-openbsd' to libvirt-daemon-common boo#1222100 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=1032 --- libvirt-10.2.0.tar.xz | 4 ++-- libvirt.changes | 6 ++++++ libvirt.spec | 9 +++++---- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/libvirt-10.2.0.tar.xz b/libvirt-10.2.0.tar.xz index 211aa5a..b8657ed 100644 --- a/libvirt-10.2.0.tar.xz +++ b/libvirt-10.2.0.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:08e31f93054311315ccf92542a1855079163bf31b78be7ba95fc5f5aef16d994 -size 9811684 +oid sha256:7d2abe3cf46dd4713da26ee5027a1463efe3536966083f8b4787e2213f2c976e +size 9811456 diff --git a/libvirt.changes b/libvirt.changes index ac72742..0877957 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Apr 12 21:02:53 UTC 2024 - James Fehlig + +- spec: Add 'Requires: netcat-openbsd' to libvirt-daemon-common + boo#1222100 + ------------------------------------------------------------------- Tue Apr 2 15:03:20 UTC 2024 - James Fehlig diff --git a/libvirt.spec b/libvirt.spec index 223f9d8..92dc309 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -337,6 +337,11 @@ Requires: group(libvirt) # Needed by libvirt-guests init script. Requires: gettext-runtime Requires: bash-completion >= 2.0 +# virt-manager uses netcat for accessing spice and VNC servers running in +# qemu processes. See boo#1222100 for details. Although libvirt does not +# use netcat, it's in a good position to provide the dependency for +# virt-manager. netcat-openbsd is a tiny package, so it's a tolerable hack. +Requires: netcat-openbsd %if %{with_apparmor} Recommends: apparmor-abstractions @@ -376,10 +381,6 @@ Server side daemon used to manage logs from virtual machine consoles %package daemon-proxy Summary: Server side daemon providing libvirtd proxy Requires: %{name}-libs = %{version}-%{release} -# netcat is needed on the server side so that clients that have -# libvirt < 6.9.0 can connect, but newer versions will prefer -# virt-ssh-helper -Recommends: netcat-openbsd %description daemon-proxy Server side daemon providing functionality previously provided by