From 188f13580b3822200247f1c5cfb187fc130b95dad229a4cc5d886197f11a0d97 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 13 Jan 2023 10:28:20 +0000 Subject: [PATCH] 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 --- python38.changes | 5 +++++ python38.spec | 9 ++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/python38.changes b/python38.changes index b4382a1..446009f 100644 --- a/python38.changes +++ b/python38.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 13 08:04:11 UTC 2023 - Martin Liška + +- Suppress warnings for Sphinx 6.0+. + ------------------------------------------------------------------- Thu Dec 8 10:32:15 UTC 2022 - Matej Cepl diff --git a/python38.spec b/python38.spec index c4e6b73..5f7feef 100644 --- a/python38.spec +++ b/python38.spec @@ -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