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:
parent
c462da06b7
commit
188f13580b
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user