SHA256
1
0
forked from pool/python38

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

- Suppress warnings for Sphinx 6.0+.

OBS-URL: https://build.opensuse.org/request/show/1058145
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python38?expand=0&rev=117
This commit is contained in:
Matej Cepl 2023-01-13 10:28:20 +00:00 committed by Git OBS Bridge
parent c462da06b7
commit 188f13580b
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 13 08:04:11 UTC 2023 - Martin Liška <mliska@suse.cz>
- Suppress warnings for Sphinx 6.0+.
-------------------------------------------------------------------
Thu Dec 8 10:32:15 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
@ -479,7 +479,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