From eb2298e3f2ef7d24860a0aac7191aaefe0b5af4db91155ce8ea24914d67f619e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sun, 22 Jun 2025 16:37:53 +0000 Subject: [PATCH] - adjusted sofilename for "nogil" build correctly. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python313?expand=0&rev=103 --- python313.changes | 5 +++++ python313.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/python313.changes b/python313.changes index f221bf2..e47b4d5 100644 --- a/python313.changes +++ b/python313.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jun 21 14:32:16 UTC 2025 - Marcus Meissner + +- adjusted sofilename for "nogil" build correctly. + ------------------------------------------------------------------- Wed Jun 11 22:02:59 UTC 2025 - Matej Cepl diff --git a/python313.spec b/python313.spec index 2ceabb0..bdccbe2 100644 --- a/python313.spec +++ b/python313.spec @@ -140,7 +140,11 @@ # version part of "libpython" package %define so_major 1 %define so_minor 0 +%if "%{abi_kind}" == "t" +%define so_version %{python_version_soname}t%{so_major}_%{so_minor} +%else %define so_version %{python_version_soname}%{abi_kind}-%{so_major}_%{so_minor} +%endif # rpm and python have different ideas about what is an arch-dependent name, so: %if "%{__isa_name}" == "ppc" %define archname %(echo %{_arch} | sed s/ppc/powerpc/)