Accepting request 990684 from devel:languages:python:Factory
- Switch from %primary_interpreter to prjconf-defined %primary_python (gh#openSUSE/python-rpm-macros#127). OBS-URL: https://build.opensuse.org/request/show/990684 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python310?expand=0&rev=17
This commit is contained in:
commit
d69db434ab
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 21 14:19:52 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Switch from %primary_interpreter to prjconf-defined
|
||||||
|
%primary_python (gh#openSUSE/python-rpm-macros#127).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 9 16:43:30 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
Thu Jun 9 16:43:30 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -36,6 +36,13 @@
|
|||||||
%bcond_without general
|
%bcond_without general
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%define python_pkg_name python310
|
||||||
|
%if "%{python_pkg_name}" == "%{primary_python}"
|
||||||
|
%define primary_interpreter 1
|
||||||
|
%else
|
||||||
|
%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
|
# Obsoleting previous "latest" Python versions
|
||||||
# Next versions will get more lines like for older versions
|
# Next versions will get more lines like for older versions
|
||||||
@ -59,14 +66,6 @@ Obsoletes: python39%{?1:-%{1}}
|
|||||||
%else
|
%else
|
||||||
%define tarversion %{version}
|
%define tarversion %{version}
|
||||||
%endif
|
%endif
|
||||||
%define python_pkg_name python310
|
|
||||||
# Will provide the python3-* provides
|
|
||||||
# Will do the /usr/bin/python3 and all the core links
|
|
||||||
%if 0%{?sle_version} || 0%{?suse_version} < 1550
|
|
||||||
%define primary_interpreter 0
|
|
||||||
%else
|
|
||||||
%define primary_interpreter 1
|
|
||||||
%endif
|
|
||||||
# We don't process beta signs well
|
# We don't process beta signs well
|
||||||
%define folderversion 3.10.5
|
%define folderversion 3.10.5
|
||||||
%define tarname Python-%{tarversion}
|
%define tarname Python-%{tarversion}
|
||||||
|
Loading…
Reference in New Issue
Block a user