From 490ede41662a015d91126ff2439e461bf4014b2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 24 May 2023 10:24:30 +0200 Subject: [PATCH] Don't pull mercurial into RHEL just to test this work with it --- python-setuptools_scm.spec | 3 +++ 1 file changed, 3 insertions(+) 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.