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