From 26fc52914be3dfe45a4b7ec6f6718ccb245505db Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 2 Nov 2017 08:10:05 +0100 Subject: [PATCH] cleanup conditionals Signed-off-by: Igor Gnatenko --- python-hypothesis.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-hypothesis.spec b/python-hypothesis.spec index 35fbaa7..3925bf2 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -47,7 +47,7 @@ Obsoletes: python-%{srcname} < 1.11.1-1 Requires: python-enum34 %{?python_provide:%python_provide python2-%{srcname}} -%if 0%{?fedora} +%if ! (0%{?rhel} && 0%{?rhel} <= 7) Suggests: numpy Suggests: pytz %endif @@ -66,7 +66,7 @@ flow. %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} -%if 0%{?fedora} +%if ! (0%{?rhel} && 0%{?rhel} <= 7) Suggests: python%{python3_pkgversion}-numpy Suggests: python%{python3_pkgversion}-pytz %endif