From bf90cb6530386b2303c5ece6246febec934828f1 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 7 Jul 2018 19:56:41 +0200 Subject: [PATCH] fix bcond logic Signed-off-by: Igor Gnatenko --- python-wheel.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/python-wheel.spec b/python-wheel.spec index 4e55f07..829ec3e 100644 --- a/python-wheel.spec +++ b/python-wheel.spec @@ -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