[papyon] - Don't package tests, since they conflict with other packages. (#673516)

Brian Pepple bpepple at fedoraproject.org
Fri Jan 28 15:27:47 UTC 2011


commit bdde69fa3289f5caecac7249d10d01e25f93ef19
Author: Brian Pepple <bpepple at fedoraproject.org>
Date:   Fri Jan 28 10:27:59 2011 -0500

    - Don't package tests, since they conflict with other packages. (#673516)

 papyon.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/papyon.spec b/papyon.spec
index d80da62..2f761b9 100644
--- a/papyon.spec
+++ b/papyon.spec
@@ -2,7 +2,7 @@
 
 Name:           papyon
 Version:        0.5.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Python libraries for MSN Messenger network
 
 Group:          Development/Languages
@@ -47,6 +47,7 @@ asynchronous manner
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+rm -R $RPM_BUILD_ROOT%{_libdir}/python2.7/site-packages/tests
 
 
 %files
@@ -56,6 +57,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* 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)
+
 * Thu Jan 27 2011 Brian Pepple <bpepple at fedoraproject.org> - 0.5.4-1
 - Update to 0.5.4.
 


More information about the scm-commits mailing list