Accepting request 1287576 from home:msmeissn:branches:devel:languages:python:Factory

- adjusted sofilename for "nogil" build correctly.

OBS-URL: https://build.opensuse.org/request/show/1287576
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python313?expand=0&rev=103
This commit is contained in:
2025-06-22 16:37:53 +00:00
committed by Git OBS Bridge
parent c2d30804e6
commit 308dfaef9b
2 changed files with 9 additions and 0 deletions

View File

@@ -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/)