From 83ff7b01d78e3ab374d4380be659895b91614040 Mon Sep 17 00:00:00 2001 From: Miroslav Vadkerti Date: Oct 24 2017 20:19:31 +0000 Subject: Bring in backward compatible changes for modularity Signed-off-by: Miroslav Vadkerti --- diff --git a/python-backports-functools_lru_cache.spec b/python-backports-functools_lru_cache.spec index 46f1789..c96d8a3 100644 --- a/python-backports-functools_lru_cache.spec +++ b/python-backports-functools_lru_cache.spec @@ -15,7 +15,7 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools # python2-setuptools is too old in EPEL7 for these -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} > 7 BuildRequires: python2-setuptools_scm BuildRequires: python2-pytest-runner %endif @@ -46,7 +46,7 @@ Requires: python2-backports %check # python2-setuptools is too old in EPEL7 to run tests -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} > 7 %{__python2} setup.py test %endif