Matej Cepl 2023-03-27 15:08:59 +00:00 committed by Git OBS Bridge
parent ff2aadd3f5
commit f5edaf893f
2 changed files with 5 additions and 10 deletions

View File

@ -1,8 +1,3 @@
-------------------------------------------------------------------
Mon Mar 27 14:59:57 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Switch off obsoleting previous interpreters.
-------------------------------------------------------------------
Mon Mar 13 08:39:53 UTC 2023 - Matej Cepl <mcepl@suse.com>

View File

@ -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]*/})