Related: #1649547 - always build the python2-magic subpackage on Fedora

... as suggested at https://bugzilla.redhat.com/1649547#c7
This commit is contained in:
Kamil Dudka 2018-11-15 12:28:56 +01:00
parent 3fd5355af8
commit 069dc14e82

View File

@ -5,8 +5,8 @@
%bcond_with python3
%endif
# python2 is not available on RHEL > 7 and not needed on Fedora > 30
%if 0%{?rhel} > 7 || 0%{?fedora} > 30
# python2 is not available on RHEL > 7
%if 0%{?rhel} > 7
%bcond_with python2
%else
%bcond_without python2