[python-zmq/el6] Run /usr/bin/nosetests directly

Thomas Spura tomspur at fedoraproject.org
Thu Aug 28 21:20:59 UTC 2014


commit efb0407b848bbd066a9ec7fa7fa24484c0874321
Author: Thomas Spura <thomas.spura at gmail.com>
Date:   Thu Aug 28 23:20:12 2014 +0200

    Run /usr/bin/nosetests directly

 python-zmq.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/python-zmq.spec b/python-zmq.spec
index e9f3635..01c5a17 100644
--- a/python-zmq.spec
+++ b/python-zmq.spec
@@ -174,7 +174,7 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so
 %if 0%{?run_tests}
     rm zmq/__*
     PYTHONPATH=%{buildroot}%{python_sitearch} \
-        %{__python} setup.py test
+        %{_bindir}/nosetests -v zmq.tests
 
     %if 0%{?with_python3}
     # there is no python3-nose yet


More information about the scm-commits mailing list