[python-zmq/el6] cd to python_sitearch in %check or there are problems with finding zmq module

Thomas Spura tomspur at fedoraproject.org
Fri Aug 29 08:20:04 UTC 2014


commit 0d035f8e296f6bd205f6cf5bb8dc110890ea4904
Author: Thomas Spura <thomas.spura at gmail.com>
Date:   Fri Aug 29 10:20:06 2014 +0200

    cd to python_sitearch in %check or there are problems with finding zmq module

 python-zmq.spec |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/python-zmq.spec b/python-zmq.spec
index 01c5a17..10d812a 100644
--- a/python-zmq.spec
+++ b/python-zmq.spec
@@ -173,6 +173,7 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so
 %check
 %if 0%{?run_tests}
     rm zmq/__*
+    cd %{buildroot}%{python_sitearch}
     PYTHONPATH=%{buildroot}%{python_sitearch} \
         %{_bindir}/nosetests -v zmq.tests
 


More information about the scm-commits mailing list