[libvirt] [PATCH] fixes to allow 'make rpm' to work again

Daniel Veillard veillard at redhat.com
Wed Sep 30 12:29:44 UTC 2009


  Just a few oversights:

  - examples/domain-events has no makefile, but domain-events/events-c
    does
  - we should still add examples/domain-events/events-python to the
    tarballs in make dist
  - python/libvirtclass.txt seems to have vanished from dist and builds
    not a big deal but don't assume it's there in the spec file.

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/
-------------- next part --------------
diff --git a/Makefile.am b/Makefile.am
index a0c9469..add7e2a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -25,6 +25,7 @@ EXTRA_DIST = \
   .x-sc_prohibit_nonreentrant \
   Makefile.nonreentrant \
   autogen.sh \
+  examples/domain-events/events-python \
   $(XML_EXAMPLES)
 
 pkgconfigdir = $(libdir)/pkgconfig
diff --git a/libvirt.spec.in b/libvirt.spec.in
index 7b5c4d7..9dd353b 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -509,7 +509,7 @@ gzip -9 ChangeLog
 rm -fr %{buildroot}
 
 %makeinstall
-for i in domain-events dominfo domsuspend hellolibvirt python
+for i in domain-events/events-c dominfo domsuspend hellolibvirt python
 do
   (cd examples/$i ; make clean ; rm -rf .deps .libs Makefile Makefile.in)
 done
@@ -757,7 +757,6 @@ fi
 %{_libdir}/python*/site-packages/libvirtmod*
 %doc python/tests/*.py
 %doc python/TODO
-%doc python/libvirtclass.txt
 %doc examples/python
 %doc examples/domain-events/events-python
 %endif


More information about the libvir-list mailing list