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