[papyon] - Acutally remove the tests.

Brian Pepple bpepple at fedoraproject.org
Fri Jan 28 17:34:58 UTC 2011


commit 638bab7772c5dcd912d535957951efaa0b5db899
Author: Brian Pepple <bpepple at fedoraproject.org>
Date:   Fri Jan 28 12:35:11 2011 -0500

    - Acutally remove the tests.

 papyon.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/papyon.spec b/papyon.spec
index 74880e1..8c5fafa 100644
--- a/papyon.spec
+++ b/papyon.spec
@@ -2,7 +2,7 @@
 
 Name:           papyon
 Version:        0.5.4
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Python libraries for MSN Messenger network
 
 Group:          Development/Languages
@@ -47,8 +47,9 @@ asynchronous manner
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
-rm -Rf $RPM_BUILD_ROOT%{_libdir}/python2.7/site-packages/tests
-
+# Remove the tests, since they conflict with some other packages.
+rm -Rf $RPM_BUILD_ROOT%{_libdir}/python2.7/site-packages/tests/*
+rmdir $RPM_BUILD_ROOT%{_libdir}/python2.7/site-packages/tests
 
 %files
 %defattr(-,root,root,-)
@@ -57,6 +58,9 @@ rm -Rf $RPM_BUILD_ROOT%{_libdir}/python2.7/site-packages/tests
 
 
 %changelog
+* Fri Jan 28 2011 Brian Pepple <bpepple at fedoraproject.org> - 0.5.4-3
+- Acutally remove the tests.
+
 * Fri Jan 28 2011 Brian Pepple <bpepple at fedoraproject.org> - 0.5.4-2
 - Don't package tests, since they conflict with other packages. (#673516)
 


More information about the scm-commits mailing list