From 612df6bb0c6300b5c3cf9c2ee4ab9ab2a9e8a8ea647c1ee1913927dc7b8f60ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= Date: Fri, 5 Aug 2016 14:30:45 +0000 Subject: [PATCH] Accepting request 417113 from home:cbosdonnat:branches:Virtualization Move guestfsd manual deps from guestfs-tools to guestfs-data OBS-URL: https://build.opensuse.org/request/show/417113 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=374 --- libguestfs.spec | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/libguestfs.spec b/libguestfs.spec index 2009f6a..685557a 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -272,12 +272,6 @@ Requires: xz # For core disk features Requires: qemu-tools -# Needed by guestfsd which is burried in the appliance -Requires: libaugeas0 -Requires: libcap2 -Requires: libhivex0 -Requires: libpcre1 - Recommends: mdadm Conflicts: guestfs-data < %{version} Conflicts: libguestfs0 < %{version} @@ -486,6 +480,19 @@ BuildRequires: xz BuildRequires: zerofree %endif +# Needed by guestfsd which is burried in the appliance +# +# The problem with this design is that rpm can't find the +# library dependencies from the guestfsd hidden in the +# daemon.tar.gz tarball.Supermin will compute an appliance +# at runtime based on the packages it will find on the host. +# Thus if there is no libaugeas, libhivex, etc on the host, +# the appliance will fail to start the guestfsd. +Requires: libaugeas0 +Requires: libcap2 +Requires: libhivex0 +Requires: libpcre1 + Summary: Virtual machine needed for libguestfs License: GPL-2.0 Group: System/Filesystems