]> xenbits.xensource.com Git - libvirt.git/commitdiff
rpm: move nc dep into the libvirt-daemon sub-RPM
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 20 Aug 2019 09:15:47 +0000 (10:15 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 27 Aug 2019 10:40:46 +0000 (11:40 +0100)
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 <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
libvirt.spec.in

index 47cd162eaa4a3dea4b7021b9c638518ddb148e0e..41c4a142d6c0c3267aabf86cda84155f0809c7e3 100644 (file)
@@ -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