From 0d035f8e296f6bd205f6cf5bb8dc110890ea4904 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Aug 29 2014 08:20:06 +0000 Subject: cd to python_sitearch in %check or there are problems with finding zmq module --- 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