On Tue, Nov 19, 2013 at 01:03:05PM +1100, Michael Chapman wrote: > On Wed, 13 Nov 2013, Michael Chapman wrote: > >error: create archive failed on file /builddir/build/BUILDROOT/libvirt-1.1.4-1.el6.x86_64/usr/share/doc/libvirt-docs-1.1.4/html/32favicon.png: > >cpio: Bad magic > >RPM build errors: > > File listed twice: /usr/share/doc/libvirt-docs-1.1.4 > > create archive failed on file /builddir/build/BUILDROOT/libvirt-1.1.4-1.el6.x86_64/usr/share/doc/libvirt-docs-1.1.4/html/32favicon.png: > >cpio: Bad magic > > Hi, > > I'm wondering what, if anything, is happening with this patch. > > At the moment libvirt.spec does not work on RHEL 6. There does not > appear to be any way to stop rpmbuild from wiping the docdir if a > %doc directive with relative paths exists. (Upstream did correct > this behaviour -- see http://www.rpm.org/ticket/836 -- but that's in > a newer version of RPM than that provided on RHEL 6.) Oh, I confirmed that the build was broken for me without this patch. I'm still not 100% understanding why the change we did broke it, but your patch does fix it at least. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list