Python 2 exception is applicable to Fedora only
This commit is contained in:
parent
1e53128636
commit
0b4ca058c4
@ -5,7 +5,12 @@
|
|||||||
|
|
||||||
# python2 is enabled by default, Fedora 32+ exception is for offlineimap
|
# python2 is enabled by default, Fedora 32+ exception is for offlineimap
|
||||||
# https://pagure.io/fesco/issue/2274
|
# https://pagure.io/fesco/issue/2274
|
||||||
|
# The exception applies to Fedora only and has no target release yet
|
||||||
|
%if 0%{?fedora}
|
||||||
%bcond_without python2
|
%bcond_without python2
|
||||||
|
%else
|
||||||
|
%bcond_with python2
|
||||||
|
%endif
|
||||||
|
|
||||||
%global python_wheelname %{modname}-%{version}-py2.py3-none-any.whl
|
%global python_wheelname %{modname}-%{version}-py2.py3-none-any.whl
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user