diff --git a/Adapt-to-intersphinx_mapping-format-due-to-Sphinx-upgrade.patch b/Adapt-to-intersphinx_mapping-format-due-to-Sphinx-upgrade.patch new file mode 100644 index 0000000000000000000000000000000000000000..d44a26be1a2ddef1232287fb49a044d3df056954 --- /dev/null +++ b/Adapt-to-intersphinx_mapping-format-due-to-Sphinx-upgrade.patch @@ -0,0 +1,11 @@ +--- a/docs/conf.py 2025-01-21 10:08:42.679880441 +0800 ++++ b/docs/conf.py 2025-01-21 10:09:34.391855911 +0800 +@@ -204,7 +204,7 @@ + + # Example configuration for intersphinx: refer to the Python standard library. + intersphinx_mapping = { +- 'https://docs.python.org/': None ++ 'python': ('https://docs.python.org/3', None) + } + + autodoc_default_flags = ['members', 'show-inheritance'] diff --git a/python-zope-event.spec b/python-zope-event.spec index 9bc9553f9262e876d9d6533cfdc329c2a6ba3b0a..0ef59f73c6c1281bbab3080a068e4014c1325068 100644 --- a/python-zope-event.spec +++ b/python-zope-event.spec @@ -1,10 +1,11 @@ Name: python-zope-event Version: 5.0 -Release: 1 +Release: 2 Summary: Zope Event Publication License: ZPLv2.1 URL: http://pypi.python.org/pypi/zope.event/ Source0: https://files.pythonhosted.org/packages/46/c2/427f1867bb96555d1d34342f1dd97f8c420966ab564d58d18469a1db8736/zope.event-5.0.tar.gz +Patch0: Adapt-to-intersphinx_mapping-format-due-to-Sphinx-upgrade.patch BuildArch: noarch %description @@ -35,8 +36,7 @@ zope.event can be found in zope.component.) This package contains the version for Python 3. %prep -%setup -q -n zope.event-%{version} -rm -rf %{modname}.egg-info +%autosetup -n zope.event-%{version} -p1 %build %py3_build @@ -66,6 +66,9 @@ popd %changelog +* Tue Jan 21 2025 wangkai <13474090681@163.com> - 5.0-2 +- Fix build failure due to Sphinx upgrade to 8.1.3 + * Mon Jul 10 2023 chenzixuan - 5.0-1 - Update package to version 5.0