set PYTHON_DISALLOW_AMBIGUOUS_VERSION=0 in %check

This commit is contained in:
Miro Hrončok 2018-05-16 14:28:42 +02:00
parent fe38f97ec5
commit 39d6b68e53

View File

@ -78,6 +78,7 @@ install -p -m0644 %{buildroot}%{python3_sitelib}/%{modname}/bash_completion.d/py
%if %{with check}
%check
export LC_ALL=C.UTF-8
export PYTHON_DISALLOW_AMBIGUOUS_VERSION=0 # something in tests is invoking /usr/bin/python to test things
%{__python2} setup.py test
%{__python3} setup.py test
%endif