From 3e1ddcfd3753df5fd3e5fba2393c243b7b04195d015a1d39752cd31b6e34374c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 6 Sep 2024 09:42:09 +0000 Subject: [PATCH] Accepting request 1199041 from home:mathletic:branches:devel:languages:python - Add patch logutils-intersphinx.patch to fix compatibility with recent Sphinx OBS-URL: https://build.opensuse.org/request/show/1199041 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-logutils?expand=0&rev=15 --- logutils-intersphinx.patch | 20 ++++++++++++++++++++ python-logutils.changes | 6 ++++++ python-logutils.spec | 2 ++ 3 files changed, 28 insertions(+) create mode 100644 logutils-intersphinx.patch diff --git a/logutils-intersphinx.patch b/logutils-intersphinx.patch new file mode 100644 index 0000000..c1d3075 --- /dev/null +++ b/logutils-intersphinx.patch @@ -0,0 +1,20 @@ +From 28565675eea39b1b1def8cd6706b0a9556f7e505 Mon Sep 17 00:00:00 2001 +From: Vinay Sajip +Date: Thu, 15 Jun 2023 16:13:41 +0100 +Subject: [PATCH] Add Read The Docs configuration. + +--- +diff --git a/doc/conf.py b/doc/conf.py +index afdd641..04e02eb 100644 +--- a/doc/conf.py ++++ b/doc/conf.py +@@ -194,6 +194,4 @@ latex_documents = [ + + + # Example configuration for intersphinx: refer to the Python standard library. +-intersphinx_mapping = { +- 'http://docs.python.org/dev': None, +-} ++intersphinx_mapping = {'python': ('http://docs.python.org/', None)} +-- +2.46.0 diff --git a/python-logutils.changes b/python-logutils.changes index 247fe94..9edcd72 100644 --- a/python-logutils.changes +++ b/python-logutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 5 18:08:30 UTC 2024 - Christoph G + +- Add patch logutils-intersphinx.patch to fix compatibility + with recent Sphinx + ------------------------------------------------------------------- Thu Jan 18 19:39:04 UTC 2024 - Ben Greiner diff --git a/python-logutils.spec b/python-logutils.spec index 07a5891..a34b1cb 100644 --- a/python-logutils.spec +++ b/python-logutils.spec @@ -27,6 +27,8 @@ Source: https://files.pythonhosted.org/packages/source/l/logutils/loguti Patch0: sphinx4.patch # PATCH-FIX-UPSTREAM logutils-pr1-fix-testasserts-py3.12.patch https://bitbucket.org/vinay.sajip/logutils/pull-requests/1 Patch1: https://bitbucket.org/hugovk/logutils/commits/0a3af211128567c437e68261a02591ffe2682d95/raw#/logutils-pr1-fix-testasserts-py3.12.patch +# PATCH-FIX-UPSTREA logutils-intersphinx.patch +Patch2: logutils-intersphinx.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module redis} BuildRequires: %{python_module setuptools}