[python-zmq] don't include tests twice

tomspur tomspur at fedoraproject.org
Thu Dec 8 20:43:11 UTC 2011


commit 8fd9ec11eaa1c9ab64cb75aa78b1e9bacf4fddcb
Author: Thomas Spura <thomas.spura at gmail.com>
Date:   Thu Dec 8 21:42:43 2011 +0100

    don't include tests twice

 python-zmq.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/python-zmq.spec b/python-zmq.spec
index 6084c07..e228146 100644
--- a/python-zmq.spec
+++ b/python-zmq.spec
@@ -180,6 +180,7 @@ popd
 %doc README.rst COPYING.LESSER examples/
 %{python_sitearch}/%{srcname}-*.egg-info
 %{python_sitearch}/zmq
+%exclude %{python_sitearch}/zmq/tests
 
 %files tests
 %defattr(-,root,root,-)
@@ -192,6 +193,7 @@ popd
 # examples/
 %{python3_sitearch}/%{srcname}-*.egg-info
 %{python3_sitearch}/zmq
+%exclude %{python3_sitearch}/zmq/tests
 
 %files -n python3-zmq-tests
 %defattr(-,root,root,-)
@@ -202,6 +204,7 @@ popd
 %changelog
 * Thu Dec  8 2011 Thomas Spura <tomspur at fedoraproject.org> - 2.1.9-2
 - use proper buildroot macro
+- don't include tests twice
 
 * Wed Sep 21 2011 Thomas Spura <tomspur at fedoraproject.org> - 2.1.9-1
 - update to new version


More information about the scm-commits mailing list