From ff2aadd3f575bac381ca3ef73127057303604256b1c850055820061d8be1f5a9 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 27 Mar 2023 15:00:17 +0000 Subject: [PATCH] - Switch off obsoleting previous interpreters. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python310?expand=0&rev=82 --- python310.changes | 5 +++++ python310.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/python310.changes b/python310.changes index 21c207e..b043638 100644 --- a/python310.changes +++ b/python310.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 27 14:59:57 UTC 2023 - Matej Cepl + +- Switch off obsoleting previous interpreters. + ------------------------------------------------------------------- Mon Mar 13 08:39:53 UTC 2023 - Matej Cepl diff --git a/python310.spec b/python310.spec index 6b565a6..68f0650 100644 --- a/python310.spec +++ b/python310.spec @@ -43,14 +43,14 @@ %define primary_interpreter 0 %endif -%if 0%{?sle_version} && 0%{?suse_version} < 1550 +# %%if 0%%{?sle_version} && 0%%{?suse_version} < 1550 # Obsoleting previous "latest" Python versions # Next versions will get more lines like for older versions -%define obsolete_python_versioned() \ -Obsoletes: python39%{?1:-%{1}} -%else +# %%define obsolete_python_versioned() \ +# Obsoletes: python39%%{?1:-%%{1}} +# %%else %define obsolete_python_versioned() %{nil} -%endif +# %%endif # Setting up variables %define _version %(c=%{version}; echo ${c/[a-z]*/})