fix bcond logic
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
42020c5c64
commit
bf90cb6530
@ -2,13 +2,13 @@
|
||||
# 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
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 7 && 0%{!?epel:1}
|
||||
# Note(hguemar): EL7 has no python3 stack but EPEL does
|
||||
%bcond_with python3
|
||||
%else
|
||||
%bcond_without python3
|
||||
%endif
|
||||
|
||||
%global pypi_name wheel
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user