From 7436783e49eb32b0d1677d54b0e7af8747cfda77 Mon Sep 17 00:00:00 2001 From: Miroslav Vadkerti Date: Oct 25 2017 17:55:27 +0000 Subject: Make the spec file compatible with EPEL. Signed-off-by: Miroslav Vadkerti --- diff --git a/python-mccabe.spec b/python-mccabe.spec index ecccd77..6763b51 100644 --- a/python-mccabe.spec +++ b/python-mccabe.spec @@ -18,7 +18,7 @@ Source0: https://files.pythonhosted.org/packages/source/m/%{modname}/ BuildArch: noarch BuildRequires: python2-devel -%if 0%{?fedora} || 0%{?rhel} >= 7 +%if 0%{?fedora} || 0%{?rhel} > 7 BuildRequires: python2-setuptools BuildRequires: python2-pytest BuildRequires: python2-pytest-runner