diff --git a/python39.changes b/python39.changes index 0a91ffc..f70908a 100644 --- a/python39.changes +++ b/python39.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 13 12:06:59 UTC 2023 - Martin Liška + +- Suppress warnings for Sphinx 6.0+. + ------------------------------------------------------------------- Thu Dec 8 10:43:43 UTC 2022 - Matej Cepl diff --git a/python39.spec b/python39.spec index 66fbfed..6905740 100644 --- a/python39.spec +++ b/python39.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 @@ -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