diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec index fe18a5a..65f1723 100644 --- a/python-setuptools_scm.spec +++ b/python-setuptools_scm.spec @@ -27,7 +27,7 @@ Summary: %{summary} BuildRequires: python2-devel BuildRequires: python2-setuptools %if %{with tests} -BuildRequires: pytest +BuildRequires: python2-pytest %endif %{?python_provide:%python_provide python2-%{srcname}}