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.)
Regards,
Michael