From b37cda8bf5e8df72bed2694c1ce0c14d135bcf1879b271146488718f2e6ec484 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 19 Jan 2023 10:07:22 +0000 Subject: [PATCH] - Don't fail on Sphinx build warnings. - For jsc#PED-1570, providing Python 3.11 for SLE-15-SP5. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python311?expand=0&rev=42 --- python311-rpmlintrc | 2 ++ python311.changes | 6 ++++++ python311.spec | 5 ++++- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/python311-rpmlintrc b/python311-rpmlintrc index 92241ae..5b35f34 100644 --- a/python311-rpmlintrc +++ b/python311-rpmlintrc @@ -1 +1,3 @@ addFilter("pem-certificate.*/usr/lib.*/python.*/test/*.pem") +addFilter("devel-file-in-non-devel-package.*/usr/lib.*/python.*/tests/*.c") +addFilter("devel-file-in-non-devel-package.*/usr/lib.*/python.*/test/*.cpp") diff --git a/python311.changes b/python311.changes index 5f828ea..5e77c55 100644 --- a/python311.changes +++ b/python311.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 10 11:11:56 UTC 2023 - Matej Cepl + +- Don't fail on Sphinx build warnings. +- For jsc#PED-1570, providing Python 3.11 for SLE-15-SP5. + ------------------------------------------------------------------- Thu Dec 8 14:59:50 UTC 2022 - Matej Cepl diff --git a/python311.spec b/python311.spec index dc1248f..d011686 100644 --- a/python311.spec +++ b/python311.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 @@ -466,6 +466,9 @@ rm Lib/site-packages/README.txt # Add vendored bluez-devel files tar xvf %{SOURCE21} +# Don't fail on warnings when building documentation +sed -i -e '/^SPHINXERRORHANDLING/s/-W//' Doc/Makefile + %build %if %{with doc} TODAY_DATE=`date -r %{SOURCE0} "+%%B %%d, %%Y"`