diff --git a/python-sphinx.spec b/python-sphinx.spec index 1f21928..69dbd9e 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -1,15 +1,15 @@ %define pkgname sphinx Name: python-sphinx Epoch: 2 -Version: 7.0.1 -Release: 2mamba +Version: 7.2.6 +Release: 1mamba Summary: Python documentation generator Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.sphinx-doc.org/en/master/ -Source: https://pypi.debian.net/Sphinx/Sphinx-%{version}.tar.gz +Source: https://pypi.debian.net/Sphinx/sphinx-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: libpython311-devel @@ -45,10 +45,12 @@ Although it is still under constant development, the following features are alre * Various extensions are available, e.g. for automatic testing of snippets and inclusion of appropriately formatted docstrings. %if 0%{?with_pyver} -%if "%{?with_pyver}" == "310" +%if "%{?with_pyver}" == "3" %define py_requires_append \ Provides: python-Sphinx \ Obsoletes: python-Sphinx < 2:6.1.3 \ +Provides: python-sphinx-py310 \ +Obsoletes: python-sphinx-py310 < 2:7.2.6-1mamba \ Provides: python-Sphinx-py310 \ Obsoletes: python-Sphinx-py310 < 2:6.1.3-3mamba \ Obsoletes: python-Sphinx-py36 < 3.5.4-2mamba \ @@ -58,7 +60,7 @@ Obsoletes: python-Sphinx-py3 < 2:6.1.3 %endif %prep -%setup -q -n Sphinx-%{version} +%setup -q -n sphinx-%{version} %build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel @@ -67,7 +69,7 @@ CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} -m installer --destdir=%{buildroot} dist/*.whl -%if "%{?with_pyver}" != "310" +%if "%{?with_pyver}" != "3" # Rename any conflicting file outside of python site packages tree for f in %{_bindir}/sphinx-{apidoc,autogen,build,quickstart}; do mv %{buildroot}${f}{,-%{?pyappend}} @@ -91,6 +93,9 @@ done %{python_sitelib}/%{pkgname}/* %changelog +* Thu Mar 14 2024 Silvan Calarco 7.2.6-1mamba +- update to 7.2.6 + * Sat Sep 30 2023 Automatic Build System 7.0.1-2mamba - rebuilt with python3 = 3.11.5