- 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:
parent
7eaae69a60
commit
2120051248
@ -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>
|
||||
|
||||
|
@ -61,22 +61,21 @@
|
||||
# %%endif
|
||||
|
||||
# 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 python_version %(echo %{_version}|cut -d. -f1-2)
|
||||
# based on the current source tarball
|
||||
%define python_version_abitag %(c=%{python_version}; echo ${c//./})
|
||||
# FIXME %%define python_version_soname %%(c=%%{python_version}; echo ${c//./_})
|
||||
%define python_version_soname 3_13
|
||||
%if 0%(test -n "%{tar_suffix}" && echo 1)
|
||||
%define _version %(echo "%{_version}~%{tar_suffix}")
|
||||
%define tarversion %{version}
|
||||
%else
|
||||
%define tarversion %{version}
|
||||
%endif
|
||||
# %%if 0%%(test -n "%%{tar_suffix}" && echo 1)
|
||||
# %%define _version %%(echo "%%{_version}~%%{tar_suffix}")
|
||||
# %%define tarversion %%{version}
|
||||
# %%else
|
||||
# %%define tarversion %%{version}
|
||||
# %%endif
|
||||
# We don't process beta signs well
|
||||
%define folderversion 3.13.0
|
||||
%define tarname Python-%{tarversion}
|
||||
%define sitedir %{_libdir}/python%{python_version}
|
||||
# three possible ABI kinds: m - pymalloc, d - debug build; see PEP 3149
|
||||
%define abi_kind %{nil}
|
||||
@ -111,7 +110,9 @@
|
||||
%define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so
|
||||
%bcond_without profileopt
|
||||
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
|
||||
Summary: Python 3 Interpreter
|
||||
License: Python-2.0
|
||||
|
Loading…
Reference in New Issue
Block a user