[libvirt] [PATCH] fix spec file when building without qemu

Richard W.M. Jones rjones at redhat.com
Wed Sep 24 11:26:52 UTC 2008


On Wed, Sep 24, 2008 at 11:13:39AM +0200, Daniel Veillard wrote:
>   While trying to build libvirt 0.4.6 for Fedora, I got an error
> when building on ppc64 which is the only architecture where qemu
> support is disabled. Files which were conditional to qemu were
> installed nonetheless in the build root:
> 
> Checking for unpackaged file(s): /usr/lib/rpm/check-files
> /builddir/build/BUILDROOT/libvirt-0.4.6-1.fc10.ppc64
> error: Installed (but unpackaged) file(s) found:
>    /etc/libvirt/qemu/networks/autostart/default.xml
>    /etc/libvirt/qemu/networks/default.xml
>    /usr/share/augeas/lenses/libvirtd_qemu.aug
>    /usr/share/augeas/lenses/tests/test_libvirtd_qemu.aug
> 
> The following patch doesn't look ideal but allows to fix the problem.

+1 to the patch.  The bug was almost certainly introduced by the
conditional specfile patch a couple of weeks back.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/




More information about the libvir-list mailing list