forked from pool/python313
- Use proper version name including tilda to separate pre-release
version. https://en.opensuse.org/openSUSE:Package_versioning_guidelines OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python313?expand=0&rev=15
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 9 12:29:28 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Use proper version name including tilda to separate pre-release
|
||||||
|
version.
|
||||||
|
https://en.opensuse.org/openSUSE:Package_versioning_guidelines
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 9 08:18:00 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
Thu May 9 08:18:00 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -61,22 +61,21 @@
|
|||||||
# %%endif
|
# %%endif
|
||||||
|
|
||||||
# Setting up variables
|
# Setting up variables
|
||||||
%define _version %(c=%{version}; echo ${c/[a-z]*/})
|
%define _version %(c=%{version}; echo ${c/[a-z~]*/})
|
||||||
%define tar_suffix %(c=%{_version}; echo ${c#%{_version}})
|
%define tar_suffix %(c=%{_version}; echo ${c#%{_version}})
|
||||||
%define python_version %(echo %{_version}|cut -d. -f1-2)
|
%define python_version %(echo %{_version}|cut -d. -f1-2)
|
||||||
# based on the current source tarball
|
# based on the current source tarball
|
||||||
%define python_version_abitag %(c=%{python_version}; echo ${c//./})
|
%define python_version_abitag %(c=%{python_version}; echo ${c//./})
|
||||||
# FIXME %%define python_version_soname %%(c=%%{python_version}; echo ${c//./_})
|
# FIXME %%define python_version_soname %%(c=%%{python_version}; echo ${c//./_})
|
||||||
%define python_version_soname 3_13
|
%define python_version_soname 3_13
|
||||||
%if 0%(test -n "%{tar_suffix}" && echo 1)
|
# %%if 0%%(test -n "%%{tar_suffix}" && echo 1)
|
||||||
%define _version %(echo "%{_version}~%{tar_suffix}")
|
# %%define _version %%(echo "%%{_version}~%%{tar_suffix}")
|
||||||
%define tarversion %{version}
|
# %%define tarversion %%{version}
|
||||||
%else
|
# %%else
|
||||||
%define tarversion %{version}
|
# %%define tarversion %%{version}
|
||||||
%endif
|
# %%endif
|
||||||
# We don't process beta signs well
|
# We don't process beta signs well
|
||||||
%define folderversion 3.13.0
|
%define folderversion 3.13.0
|
||||||
%define tarname Python-%{tarversion}
|
|
||||||
%define sitedir %{_libdir}/python%{python_version}
|
%define sitedir %{_libdir}/python%{python_version}
|
||||||
# three possible ABI kinds: m - pymalloc, d - debug build; see PEP 3149
|
# three possible ABI kinds: m - pymalloc, d - debug build; see PEP 3149
|
||||||
%define abi_kind %{nil}
|
%define abi_kind %{nil}
|
||||||
@@ -111,7 +110,9 @@
|
|||||||
%define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so
|
%define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so
|
||||||
%bcond_without profileopt
|
%bcond_without profileopt
|
||||||
Name: %{python_pkg_name}%{psuffix}
|
Name: %{python_pkg_name}%{psuffix}
|
||||||
Version: 3.13.0b1
|
Version: 3.13.0~b1
|
||||||
|
%define tarversion 3.13.0b1
|
||||||
|
%define tarname Python-%{tarversion}
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python 3 Interpreter
|
Summary: Python 3 Interpreter
|
||||||
License: Python-2.0
|
License: Python-2.0
|
||||||
|
|||||||
Reference in New Issue
Block a user