On Thu, 7 Nov 2013, Franky Van Liedekerke wrote:
Hi,

using the latest 1.1.4, I'm having issues to get the rpm build to complete. I'm always getting this error:
==================
Wrote: /root/rpmbuild/RPMS/x86_64/libvirt-1.1.4-1.el6.x86_64.rpm
error: create archive failed on file /root/rpmbuild/BUILDROOT/libvirt-1.1.4-1.el6.x86_64/usr/share/doc/libvirt-docs-1.1.4/html/32favicon.png: cpio: Bad magic

It looks like rpmbuild in RHEL/CentOS always wipes the docdir for a package if any %doc directives are present. The HTML documentation is pushed into this directory during %install, so it gets lost by the time the %doc phase runs.

I'll send through a patch to fix this.

- Michael

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to