mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
chore(sphinxcontrib-moderncmakedomain): Add explicit build dep on pyproject-rpm-macros (#4829) (#4834)
(cherry picked from commit bf4274621a)
Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
+7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user