diff --git a/anda/langs/python/sphinxcontrib-moderncmakedomain/python-sphinxcontrib-moderncmakedomain.spec b/anda/langs/python/sphinxcontrib-moderncmakedomain/python-sphinxcontrib-moderncmakedomain.spec index ba94a02468..20e63a045a 100644 --- a/anda/langs/python/sphinxcontrib-moderncmakedomain/python-sphinxcontrib-moderncmakedomain.spec +++ b/anda/langs/python/sphinxcontrib-moderncmakedomain/python-sphinxcontrib-moderncmakedomain.spec @@ -5,13 +5,14 @@ Name: python-%{real_name} Version: 3.29.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Sphinx domain for modern CMake License: BSD-3-Clause URL: https://github.com/scikit-build/moderncmakedomain Source0: %{pypi_source} BuildRequires: python3-devel BuildRequires: python3dist(hatchling) +BuildRequires: python3dist(nox) BuildRequires: python3dist(pip) BuildRequires: python3dist(pytest) BuildRequires: python3dist(setuptools) @@ -22,13 +23,14 @@ Packager: Gilver E. %description Modern CMake domain entries, originally from Kitware. -%package -n python3-%{pypi_name} +%package -n python3-%{real_name} Summary: %{summary} Requires: python3dist(hatchling) Requires: python3dist(sphinx) -%{?python_provide:%python_provide python3-%{pypi_name}} +Obsoletes: python3-%{pypi_name} < 3.29.0-2 +%{?python_provide:%python_provide python3-%{real_name}} -%description -n python3-%{pypi_name} +%description -n python3-%{real_name} Modern CMake domain entries, originally from Kitware. %prep @@ -41,9 +43,9 @@ Modern CMake domain entries, originally from Kitware. %pyproject_install %check -%pytest tests/*.py +nox -s tests -%files -n python3-%{pypi_name} +%files -n python3-%{real_name} %doc PKG-INFO %doc README.md %license LICENSE