From 39d6b68e533dac8636e76586e6d2e2d4e78381bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 16 May 2018 14:28:42 +0200 Subject: [PATCH] set PYTHON_DISALLOW_AMBIGUOUS_VERSION=0 in %check --- python-argcomplete.spec | 1 + 1 file changed, 1 insertion(+) 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