From 1fc23f36f01dc0083467cd0cb4aba6fb2cb3ea33 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 4 Nov 2017 11:06:50 +0100 Subject: [PATCH] cleanup conditionals Signed-off-by: Igor Gnatenko --- python-nose.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/python-nose.spec b/python-nose.spec index 160a8f2..7a48239 100644 --- a/python-nose.spec +++ b/python-nose.spec @@ -1,9 +1,7 @@ -%{!?python3_version: %global python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")} - -%if 0%{?fedora} || 0%{?rhel} > 7 -%bcond_without python3 -%else +%if 0%{?rhel} && 0%{?rhel} <= 7 %bcond_with python3 +%else +%bcond_without python3 %endif %global upstream_name nose