fix bcond logic

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-07-07 19:56:41 +02:00
parent 42020c5c64
commit bf90cb6530
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

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