diff --git a/python-backports-functools_lru_cache.spec b/python-backports-functools_lru_cache.spec index ed9eff4..d131d07 100644 --- a/python-backports-functools_lru_cache.spec +++ b/python-backports-functools_lru_cache.spec @@ -16,7 +16,7 @@ Patch0: %{name}-noscm.patch BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -# python2-setuptools is too old in EPEL7 for these +# pytest is too old in EPEL7 to run tests (needs >= 2.8) %if 0%{?fedora} BuildRequires: python2-setuptools_scm BuildRequires: python2-pytest-runner @@ -46,7 +46,7 @@ Summary: %{sum} %check -# python2-setuptools is too old in EPEL7 to run tests +# pytest is too old in EPEL7 to run tests (needs >= 2.8) %if 0%{?fedora} %{__python2} setup.py test %endif