- Switch off obsoleting previous interpreters.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python311?expand=0&rev=55
This commit is contained in:
parent
9f02c1193d
commit
8fcb1e736e
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 27 14:59:57 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Switch off obsoleting previous interpreters.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 3 17:23:35 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -43,15 +43,15 @@
|
||||
%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}} \
|
||||
Obsoletes: python310%{?1:-%{1}}
|
||||
%else
|
||||
# %%define obsolete_python_versioned() \
|
||||
# Obsoletes: python39%%{?1:-%%{1}} \
|
||||
# Obsoletes: python310%%{?1:-%%{1}}
|
||||
# %%else
|
||||
%define obsolete_python_versioned() %{nil}
|
||||
%endif
|
||||
# %%endif
|
||||
|
||||
# Setting up variables
|
||||
%define _version %(c=%{version}; echo ${c/[a-z]*/})
|
||||
|
Loading…
Reference in New Issue
Block a user