Using a more recent rpmbuild on f20, I found that the 'make
rpm' was failing:
Installed (but unpackaged) file(s) found:
/usr/share/doc/libvirt-cim-0.6.3/html/architecture.html
/usr/share/doc/libvirt-cim-0.6.3/html/downloads.html
/usr/share/doc/libvirt-cim-0.6.3/html/index.html
/usr/share/doc/libvirt-cim-0.6.3/html/intro.html
/usr/share/doc/libvirt-cim-0.6.3/html/libvirt-cim.html
/usr/share/doc/libvirt-cim-0.6.3/html/news.html
/usr/share/doc/libvirt-cim-0.6.3/html/patches.html
/usr/share/doc/libvirt-cim-0.6.3/html/platforms.html
/usr/share/doc/libvirt-cim-0.6.3/html/schema.html
make: *** [rpm] Error 1
After a bit of research - I found the following page that describes a
workaround to add "%define _unpackaged_files_terminate_build 0" to the
spec file:
http://www.oldrpm.org/hintskinks/unpackaged/
However, figuring that wasn't a great solution - I found a libvirt change
that provided a way to work around what was being seen, see:
http://www.redhat.com/archives/libvir-list/2013-November/msg00441.html
It seems as though having that %doc doc/*.html is not proper any more.
With this change I can once again build RPM packages
Signed-off-by: John Ferlan <jferlan(a)redhat.com>
---
libvirt-cim.spec.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)