diff --git a/python-psutil.spec b/python-psutil.spec index 49f6374..be6bef3 100644 --- a/python-psutil.spec +++ b/python-psutil.spec @@ -91,7 +91,7 @@ export TRAVIS=1 march=`python3 -c "import platform ; print(platform.machine())"` # Note test_fetch_all is a bit flaky, occasionally failing -%{python_expand PYTHONPATH=build/lib.linux-${march}-%{$python_version}/ +%{python_expand export PYTHONPATH=build/lib.linux-${march}-%{$python_version}/ $python -Wa psutil/tests/runner.py } %endif