- Add downport-Sphinx-features.patch to make documentation

buildable even on SLE-15.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=151
This commit is contained in:
2023-06-30 21:00:48 +00:00
committed by Git OBS Bridge
parent 69c4eef74b
commit 27cb2961b5
3 changed files with 101 additions and 0 deletions

View File

@@ -164,6 +164,9 @@ Patch37: 98437-sphinx.locale._-as-gettext-in-pyspecific.patch
# PATCH-FIX-UPSTREAM 99366-patch.dict-can-decorate-async.patch bsc#[0-9]+ mcepl@suse.com
# Patch for gh#python/cpython#98086
Patch40: 99366-patch.dict-can-decorate-async.patch
# PATCH-FIX-OPENSUSE downport-Sphinx-features.patch mcepl@suse.com
# Make documentation build with older Sphinx
Patch41: downport-Sphinx-features.patch
BuildRequires: autoconf-archive
BuildRequires: automake
BuildRequires: fdupes
@@ -423,6 +426,9 @@ other applications.
%patch35 -p1
%patch37 -p1
%patch40 -p1
%if 0%{?sle_version} && 0%{?sle_version} <= 150500
%patch41 -p1
%endif
# drop Autoconf version requirement
sed -i 's/^AC_PREREQ/dnl AC_PREREQ/' configure.ac