From 0b4ca058c404fafb31ca03b27510a95c14ec6915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 25 May 2020 12:45:01 +0200 Subject: [PATCH] Python 2 exception is applicable to Fedora only --- python-six.spec | 5 +++++ 1 file changed, 5 insertions(+) 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