diff --git a/python-isort.spec b/python-isort.spec index 0426ce1..04b79fe 100644 --- a/python-isort.spec +++ b/python-isort.spec @@ -137,7 +137,7 @@ donttest+=" or test_black_pyi_file" ORIGPATH=$PATH %{python_expand # install isort and required example projects into custom root mkdir isort-test-%{$python_bin_suffix} -export PATH="$(pwd)/isort-test-%{$python_bin_suffix}%{_prefix}/bin:$ORIGPATH" +export PATH="$(pwd)/isort-test-%{$python_bin_suffix}/usr/bin:$ORIGPATH" export PYTHONPATH="$(pwd)/isort-test-%{$python_bin_suffix}%{$python_sitelib}" export PYTHONDONTWRITEBYTECODE=1