Fix py2 condition for El8
With current setting python2 build was enabled for both EL7 and EL8, with this patch python2 build is enabled only for EL7.
This commit is contained in:
parent
5232e19e51
commit
f83f289d82
@ -1,4 +1,4 @@
|
||||
%if %{defined rhel} || (%{defined fedora} && 0%{?fedora} < 30)
|
||||
%if (%{defined rhel} && 0%{?rhel} < 8) || (%{defined fedora} && 0%{?fedora} < 30)
|
||||
%bcond_without python2
|
||||
%endif
|
||||
%bcond_without python3
|
||||
|
Loading…
Reference in New Issue
Block a user