From 553f31c579b903dcc1e684de4297ccd8eaafeb16 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Wed, 30 Sep 2009 14:34:15 +0200 Subject: [PATCH] Fix a few 'make rpm' breakages * Makefile.am: examples/domain-events/events-python should be added to dist tarball * libvirt.spec.in: there is no makefile in domain-events but in domain-events/events-c and python/libvirtclass.txt has vanished --- Makefile.am | 1 + libvirt.spec.in | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index a0c9469a70..add7e2ab22 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 e02e58897a..da3b2a7268 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 -- GitLab