Fix build on EL7
This commit is contained in:
parent
6f5f32e66e
commit
cff51c9550
@ -2,6 +2,11 @@
|
||||
# bcond_with bootstrap = tests enabled
|
||||
%bcond_with bootstrap
|
||||
|
||||
# Note(hguemar): EL7 has no python3 stack but EPEL does
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 7 && 0%{!?epel:1}
|
||||
%define _without_python3 1
|
||||
%endif
|
||||
|
||||
%bcond_without python2
|
||||
%bcond_without python3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user