
13 Nov
2013
13 Nov
'13
1:01 a.m.
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