diff --git a/Adapt-to-intersphinx-mapping-format-due-to-Sphinx-up.patch b/Adapt-to-intersphinx-mapping-format-due-to-Sphinx-up.patch new file mode 100644 index 0000000000000000000000000000000000000000..6878aeaae410914c84bdcf6eaa6cde1064610658 --- /dev/null +++ b/Adapt-to-intersphinx-mapping-format-due-to-Sphinx-up.patch @@ -0,0 +1,48 @@ +From 39f1bef46b7b900114a0f621043cde0626dcfc9f Mon Sep 17 00:00:00 2001 +From: cherry530 <707078654@qq.com> +Date: Tue, 26 Nov 2024 10:22:02 +0800 +Subject: [PATCH] Adapt to intersphinx mapping format due to Sphinx upgrade + +Signed-off-by: cherry530 <707078654@qq.com> +--- + kitchen2/docs/conf.py | 6 +++--- + kitchen3/docs/conf.py | 6 +++--- + 2 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/kitchen2/docs/conf.py b/kitchen2/docs/conf.py +index b699d95..62797fd 100644 +--- a/kitchen2/docs/conf.py ++++ b/kitchen2/docs/conf.py +@@ -204,9 +204,9 @@ automodule_skip_lines = 4 + autoclass_content = "class" + + # Example configuration for intersphinx: refer to the Python standard library. +-intersphinx_mapping = {'http://docs.python.org/': None, +- 'https://fedorahosted.org/releases/p/y/python-fedora/doc/': None, +- 'https://fedorahosted.org/releases/p/a/packagedb/doc/': None} ++intersphinx_mapping = {'python': ('http://docs.python.org/3', None), ++ 'python': ('https://fedorahosted.org/releases/p/y/python-fedora/doc', None), ++ 'python': ('https://fedorahosted.org/releases/p/a/packagedb/doc', None)} + + rst_epilog = ''' + .. |projpage| replace:: project webpage +diff --git a/kitchen3/docs/conf.py b/kitchen3/docs/conf.py +index fdc0a3b..1cfec8a 100644 +--- a/kitchen3/docs/conf.py ++++ b/kitchen3/docs/conf.py +@@ -204,9 +204,9 @@ automodule_skip_lines = 4 + autoclass_content = "class" + + # Example configuration for intersphinx: refer to the Python standard library. +-intersphinx_mapping = {'http://docs.python.org/': None, +- 'https://fedorahosted.org/releases/p/y/python-fedora/doc/': None, +- 'https://fedorahosted.org/releases/p/a/packagedb/doc/': None} ++intersphinx_mapping = {'python': ('http://docs.python.org/3', None), ++ 'python': ('https://fedorahosted.org/releases/p/y/python-fedora/doc', None), ++ 'python': ('https://fedorahosted.org/releases/p/a/packagedb/doc', None)} + + rst_epilog = ''' + .. |projpage| replace:: project webpage +-- +2.47.0 + diff --git a/python-kitchen.spec b/python-kitchen.spec index 6f9aa0bd9e03c02cf0415ccfad29bb1067bafa11..ba529c551db4cb32ddf2d330c8838138e502d755 100644 --- a/python-kitchen.spec +++ b/python-kitchen.spec @@ -3,7 +3,7 @@ Name: python-kitchen Version: 1.2.6 -Release: 8 +Release: 9 Summary: Small, useful pieces of code to make python coding easier License: LGPLv2+ @@ -18,6 +18,7 @@ BuildRequires: python%{python3_pkgversion}-test BuildRequires: python%{python3_pkgversion}-chardet Patch0: 0001-replace-obsolete-pngmath-with-imgmath.patch +Patch1: Adapt-to-intersphinx-mapping-format-due-to-Sphinx-up.patch %description kitchen includes functions to make gettext easier to use, handling unicode @@ -42,7 +43,6 @@ This is the python3 version of the kitchen module. %package help Summary: API documentation for the Kitchen python3 module -#Requires: python2-kitchen = %{version}-%{release} %description help kitchen includes functions to make gettext easier to use, handling unicode @@ -109,6 +109,9 @@ popd %endif %changelog +* Tue Nov 26 2024 xu_ping <707078654@qq.com> - 1.2.6-9 +- fix build error due to python-sphinx upgrade + * Wed Oct 26 2022 zhangruifang - 1.2.6-8 - Rebuild for next release