set PYTHON_DISALLOW_AMBIGUOUS_VERSION=0 in %check
This commit is contained in:
parent
fe38f97ec5
commit
39d6b68e53
@ -78,6 +78,7 @@ install -p -m0644 %{buildroot}%{python3_sitelib}/%{modname}/bash_completion.d/py
|
|||||||
%if %{with check}
|
%if %{with check}
|
||||||
%check
|
%check
|
||||||
export LC_ALL=C.UTF-8
|
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
|
%{__python2} setup.py test
|
||||||
%{__python3} setup.py test
|
%{__python3} setup.py test
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user