]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: Demote netcat to Recommends
authorAndrea Bolognani <abologna@redhat.com>
Fri, 24 Dec 2021 09:56:04 +0000 (10:56 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 3 Jan 2022 08:37:50 +0000 (09:37 +0100)
It is only needed if compatibility with clients that have
libvirt < 6.9.0 is required, and can be uninstalled otherwise.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
libvirt.spec.in

index 7bd74da2c9943ed7372f8f3e13220dcc7123333a..0180b4200cdee6c95c5b5a2be2d0ab10098382fb 100644 (file)
@@ -402,8 +402,12 @@ Summary: Server side daemon and supporting files for libvirt library
 # The client side, i.e. shared libs are in a subpackage
 Requires: %{name}-libs = %{version}-%{release}
 
-# (client invokes 'nc' against the UNIX socket on the server)
-Requires: /usr/bin/nc
+# 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. Making this a Recommends means that it gets
+# installed by default, but can still be removed if compatibility
+# with old clients is not required
+Recommends: /usr/bin/nc
 
 # for modprobe of pci devices
 Requires: module-init-tools