From 8f0f30a0f8ba2022f0f59f25cac528eae75d3bbdcf76cd383e5bbae23ded3b66 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 28 Nov 2024 18:17:32 +0000 Subject: [PATCH] - Apply sphinx-72.patch only conditionally for non-SLE-15 builds. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python310?expand=0&rev=162 --- python310.changes | 1 + python310.spec | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/python310.changes b/python310.changes index a8320ed..41ecc0a 100644 --- a/python310.changes +++ b/python310.changes @@ -2,6 +2,7 @@ Thu Nov 14 07:06:20 UTC 2024 - Matej Cepl - Remove -IVendor/ from python-config boo#1231795 +- Apply sphinx-72.patch only conditionally for non-SLE-15 builds. ------------------------------------------------------------------- Wed Nov 13 13:25:01 UTC 2024 - Matej Cepl diff --git a/python310.spec b/python310.spec index 58d32bc..4ec7a9b 100644 --- a/python310.spec +++ b/python310.spec @@ -484,7 +484,11 @@ other applications. %patch -p1 -P 17 %patch -p1 -P 18 %patch -p1 -P 19 + +%if ! 0%{?sle_version} || 0%{?sle_version} >= 160000 %patch -p1 -P 21 +%endif + %patch -p1 -P 22 %patch -p1 -P 24 %patch -p1 -P 27