diff --git a/python-greenlet.changes b/python-greenlet.changes index 772285d..1e052c5 100644 --- a/python-greenlet.changes +++ b/python-greenlet.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 5 07:41:02 UTC 2023 - Daniel Garcia + +- Add sphinx-6.0.0.patch to make it work with new version of Sphinx. + ------------------------------------------------------------------- Mon Sep 12 20:13:22 UTC 2022 - Dirk Müller diff --git a/python-greenlet.spec b/python-greenlet.spec index 6d210ec..30f8687 100644 --- a/python-greenlet.spec +++ b/python-greenlet.spec @@ -1,7 +1,7 @@ # # spec file for package python-greenlet # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2010 B1 Systems GmbH, Vohburg, Germany. # # All modifications and additions to the file contributed by third parties @@ -17,7 +17,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-greenlet Version: 1.1.3 Release: 0 @@ -27,6 +26,8 @@ Group: Development/Libraries/Python URL: https://github.com/python-greenlet/greenlet Source0: https://files.pythonhosted.org/packages/source/g/greenlet/greenlet-%{version}.tar.gz Source9: python-greenlet-rpmlintrc +# PATCH-FIX-OPENSUSE sphinx-6.0.0.patch +Patch0: sphinx-6.0.0.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: c++_compiler @@ -51,7 +52,7 @@ BuildArch: noarch This package contains header files required for C modules development. %prep -%setup -q -n greenlet-%{version} +%autosetup -p1 -n greenlet-%{version} %build export CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing" diff --git a/sphinx-6.0.0.patch b/sphinx-6.0.0.patch new file mode 100644 index 0000000..14b666a --- /dev/null +++ b/sphinx-6.0.0.patch @@ -0,0 +1,14 @@ +Index: greenlet-1.1.3/docs/conf.py +=================================================================== +--- greenlet-1.1.3.orig/docs/conf.py ++++ greenlet-1.1.3/docs/conf.py +@@ -271,7 +271,7 @@ autoclass_content = 'both' + + extlinks = { + 'issue': ('https://github.com/python-greenlet/greenlet/issues/%s', +- 'issue #'), ++ 'issue #%s'), + 'pr': ('https://github.com/python-greenlet/greenlet/pull/%s', +- 'pull request #') ++ 'pull request #%s') + }