Support spaces in %toxenv

This commit is contained in:
Miro Hrončok 2019-08-21 18:01:31 +02:00
parent fda0a23075
commit 31ef675ff5

View File

@ -29,7 +29,7 @@ echo 'python3dist(pytoml)'
# setuptools assumes no pre-existing dist-info # setuptools assumes no pre-existing dist-info
rm -rfv *.dist-info/ rm -rfv *.dist-info/
if [ -f %{__python3} ]; then if [ -f %{__python3} ]; then
RPM_TOXENV=%{toxenv} %{__python3} -I %{_rpmconfigdir}/redhat/pyproject_buildrequires.py %{?**} RPM_TOXENV="%{toxenv}" %{__python3} -I %{_rpmconfigdir}/redhat/pyproject_buildrequires.py %{?**}
fi fi
} }