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

(cherry picked from commit bf4274621a)

Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
Raboneko
2025-05-14 05:47:11 -07:00
committed by GitHub
parent 05ec63fc92
commit f37aa0c7de
@@ -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