diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec index 4ed60ab..f688013 100644 --- a/python-setuptools_scm.spec +++ b/python-setuptools_scm.spec @@ -15,8 +15,11 @@ BuildRequires: python%{python3_pkgversion}-devel BuildRequires: pyproject-rpm-macros %if %{with tests} BuildRequires: git-core +# Don't pull mercurial into RHEL just to test this work with it +%if %{undefined rhel} BuildRequires: mercurial %endif +%endif %description Setuptools_scm handles managing your Python package versions in SCM metadata.