diff --git a/python-six.spec b/python-six.spec index c54a18d..ab46f50 100644 --- a/python-six.spec +++ b/python-six.spec @@ -5,7 +5,12 @@ # python2 is enabled by default, Fedora 32+ exception is for offlineimap # https://pagure.io/fesco/issue/2274 +# The exception applies to Fedora only and has no target release yet +%if 0%{?fedora} %bcond_without python2 +%else +%bcond_with python2 +%endif %global python_wheelname %{modname}-%{version}-py2.py3-none-any.whl