[libvirt] [PATCH 08/14] Remove python cruft from python/tests

Mark McLoughlin markmc at redhat.com
Tue Jul 28 18:44:11 UTC 2009


Added by DV in Fedora, no changelog as to why, but guessing that
rpmbuild barfed because these files were created at build time?
---
 libvirt.spec.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 9a1dfd9..dadc851 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -372,6 +372,8 @@ rm -fr %{buildroot}
 (cd docs/examples/python ; rm -rf .deps Makefile Makefile.in)
 (cd examples/hellolibvirt ; make clean ; rm -rf .deps .libs Makefile Makefile.in)
 (cd examples/domain-events/events-c ;  make clean ;rm -rf .deps .libs Makefile Makefile.in)
+(cd python/tests ; rm -f *.py?)
+
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
 rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.la
-- 
1.6.2.5




More information about the libvir-list mailing list