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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  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@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/
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
--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]