Accepting request 1058220 from home:marxin:branches:devel:languages:python:Factory

- Suppress warnings for Sphinx 6.0+.

OBS-URL: https://build.opensuse.org/request/show/1058220
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=130
This commit is contained in:
Matej Cepl 2023-01-13 17:34:48 +00:00 committed by Git OBS Bridge
parent 80936f6706
commit 99c7e0b52b
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 13 12:06:59 UTC 2023 - Martin Liška <mliska@suse.cz>
- Suppress warnings for Sphinx 6.0+.
-------------------------------------------------------------------
Thu Dec 8 10:43:43 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -458,7 +458,14 @@ TODAY_DATE=`date -r %{SOURCE0} "+%%B %%d, %%Y"`
cd Doc
sed -i "s/^today = .*/today = '$TODAY_DATE'/" conf.py
%if 0%{?suse_version} >= 1550
# Sphinx 6.0+ reports various warnings that are not backported
# branch.
%make_build html SPHINXERRORHANDLING=""
%else
%make_build -j1 html
%endif
# Build also devhelp files
sphinx-build -a -b devhelp . build/devhelp