chore(sphinxcontrib-moderncmakedomain): Add explicit build dep on pyproject-rpm-macros (#4829)

Signed-off-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
Gilver
2025-05-14 07:45:52 -05:00
committed by GitHub
parent 91dd30223d
commit bf4274621a
@@ -10,9 +10,12 @@ Summary: Sphinx domain for modern CMake
License: BSD-3-Clause
URL: https://github.com/scikit-build/moderncmakedomain
Source0: %{pypi_source}
BuildRequires: pyproject-rpm-macros
BuildRequires: python3-devel
BuildRequires: python3dist(hatchling)
%if 0%{?fedora}
BuildRequires: python3dist(nox)
%endif
BuildRequires: python3dist(pip)
BuildRequires: python3dist(pytest)
BuildRequires: python3dist(setuptools)
@@ -43,7 +46,11 @@ Modern CMake domain entries, originally from Kitware.
%pyproject_install
%check
%if 0%{?rhel}
%pytest tests/*.py
%else
nox -s tests
%endif
%files -n python3-%{real_name}
%doc PKG-INFO