diff --git a/python-argcomplete.spec b/python-argcomplete.spec index 40867cd..250c859 100644 --- a/python-argcomplete.spec +++ b/python-argcomplete.spec @@ -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