From e7eae7886cf322494488e62dd3d6b193dca08589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Tue, 20 Aug 2019 10:15:47 +0100 Subject: [PATCH] rpm: move nc dep into the libvirt-daemon sub-RPM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The remote client invokes the 'nc' binary on the remote server to tunnel access to the socket. As such the 'nc' binary needs to be pulled in only by the libvirt-daemon sub-RPM, not the libvirt-client sub-RPM. Reviewed-by: Michal Privoznik Signed-off-by: Daniel P. Berrangé --- libvirt.spec.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 47cd162eaa..41c4a142d6 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -425,6 +425,9 @@ 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 + # for modprobe of pci devices Requires: module-init-tools @@ -899,8 +902,6 @@ capabilities of recent versions of Linux (and other OSes). %package libs Summary: Client side libraries # So remote clients can access libvirt over SSH tunnel -# (client invokes 'nc' against the UNIX socket on the server) -Requires: /usr/bin/nc Requires: cyrus-sasl # Needed by default sasl.conf - no onerous extra deps, since # 100's of other things on a system already pull in krb5-libs -- GitLab