Fix build on EL7

This commit is contained in:
Haikel Guemar 2018-03-05 17:16:14 +00:00
parent 6f5f32e66e
commit cff51c9550

View File

@ -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