diff --git a/docs-Update-intersphinx_mapping.patch b/docs-Update-intersphinx_mapping.patch new file mode 100644 index 0000000..35f16b5 --- /dev/null +++ b/docs-Update-intersphinx_mapping.patch @@ -0,0 +1,25 @@ +From 46b1be3b6fff90d854f234e83aba849201e15d0e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= +Date: Wed, 4 Sep 2024 17:29:05 +0200 +Subject: [PATCH] docs: Update intersphinx_mapping + +--- + docs/source/conf.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/docs/source/conf.py b/docs/source/conf.py +index e106a33..9d76ec5 100644 +--- a/docs/source/conf.py ++++ b/docs/source/conf.py +@@ -192,7 +192,7 @@ latex_documents = [ + + + # Example configuration for intersphinx: refer to the Python standard library. +-intersphinx_mapping = {'http://docs.python.org/': None} ++intersphinx_mapping = {'python': ('https://docs.python.org/3', None)} + + # Autodoc config + autoclass_content = "both" +-- +2.46.0 + diff --git a/python-Whoosh.changes b/python-Whoosh.changes index e4ec84a..dd869d8 100644 --- a/python-Whoosh.changes +++ b/python-Whoosh.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Sep 4 15:42:36 UTC 2024 - Christoph G + +- Fix intersphinx mapping by adding + docs-Update-intersphinx_mapping.patch + ------------------------------------------------------------------- Wed May 3 10:41:31 UTC 2023 - Dirk Müller diff --git a/python-Whoosh.spec b/python-Whoosh.spec index 98b44bd..caddf2c 100644 --- a/python-Whoosh.spec +++ b/python-Whoosh.spec @@ -1,7 +1,7 @@ # # spec file for package python-Whoosh # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,6 +32,9 @@ Patch1: py2encoding.patch # PATCH-FIX-UPSTREAM NullMatcherClass-hashable.patch gh#whoosh-community/whoosh#570 mcepl@suse.com # NullMatcherClass needs __hash__ method as well for Sphinx4 compatiblity. Patch2: NullMatcherClass-hashable.patch +# PATCH-FIX-UPSTREAM docs-Update-intersphinx_mapping.patch gh#whoosh-community/whoosh#582 +# fix intersphinx_mapping +Patch3: docs-Update-intersphinx_mapping.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros