From a6c5945732a9f8c94166cf0e2279c8f67226a8f6 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: May 08 2023 04:10:34 +0000 Subject: Fix build with Sphinx 6 --- diff --git a/0001-Fix-doc-build-with-Sphinx-6.patch b/0001-Fix-doc-build-with-Sphinx-6.patch new file mode 100644 index 0000000..0115bc2 --- /dev/null +++ b/0001-Fix-doc-build-with-Sphinx-6.patch @@ -0,0 +1,26 @@ +From 00f39d74f8788ad5aa0dbfe34e7b66b38d0c63d1 Mon Sep 17 00:00:00 2001 +From: Elliott Sales de Andrade +Date: Mon, 8 May 2023 00:05:59 -0400 +Subject: [PATCH] Fix doc build with Sphinx 6 + +Signed-off-by: Elliott Sales de Andrade +--- + doc/source/conf.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/doc/source/conf.py b/doc/source/conf.py +index 7efdfd8..ab40673 100644 +--- a/doc/source/conf.py ++++ b/doc/source/conf.py +@@ -226,7 +226,7 @@ latex_documents = [ + # If false, no module index is generated. + # latex_use_modindex = True + +-extlinks = {"issue": ("https://github.com/pydata/bottleneck/issues/%s", "#")} ++extlinks = {"issue": ("https://github.com/pydata/bottleneck/issues/%s", "#%s")} + intersphinx_mapping = { + "numpy": ("https://docs.scipy.org/doc/numpy/", None), + "numpydoc": ("https://numpydoc.readthedocs.io/en/latest/", None), +-- +2.40.0 + diff --git a/python-Bottleneck.spec b/python-Bottleneck.spec index 8f6ea7a..064f076 100644 --- a/python-Bottleneck.spec +++ b/python-Bottleneck.spec @@ -8,6 +8,8 @@ Summary: Collection of fast NumPy array functions written in Cython License: BSD URL: https://pypi.org/project/Bottleneck/ Source0: https://files.pythonhosted.org/packages/source/B/%{upname}/%{upname}-%{version}.tar.gz +# https://github.com/pydata/bottleneck/pull/432 +Patch0001: 0001-Fix-doc-build-with-Sphinx-6.patch BuildRequires: gcc