From b8b1a717d14c1d122c75b319b3d21911c5f5dfe0 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:15:08 +0100 Subject: [PATCH] fix linking to python 3.11 instead of 3.7 [release 4.4.8-2mamba;Sat Jan 14 2023] --- libyui.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/libyui.spec b/libyui.spec index d197bdd..a8e000c 100644 --- a/libyui.spec +++ b/libyui.spec @@ -1,5 +1,5 @@ Name: libyui -Version: 4.3.3 +Version: 4.4.8 Release: 2mamba Summary: A widget abstraction library providing Qt, GTK and ncurses frontends Group: System/Libraries @@ -111,7 +111,7 @@ Libyui is a widget abstraction library providing Qt, GTK and ncurses frontends. This package contains the Python bindings to %{name}. %package -n ruby-yui -Group: System/Libraries/Ruby +Group: System/Libraries Summary: Ruby bindings to %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} @@ -123,9 +123,12 @@ This package contains the Ruby bindings to %{name}. %prep %setup -q +#-D -T +#:<< _EOF sed -i "s|ncursesw/||" libyui-ncurses/src/* %build +#:<< _EOF for pkgname in libyui libyui-qt libyui-qt-graph libyui-ncurses libyui-bindings;do cd ${pkgname} %cmake -d build \ @@ -134,6 +137,7 @@ for pkgname in libyui libyui-qt libyui-qt-graph libyui-ncurses libyui-bindings;d -DWITH_MGA=ON \ -DWITH_MONO=OFF \ -DPYTHON_EXECUTABLE=%{__python3} \ + -DPYTHON_LIBRARY=%{_libdir}/libpython3.7m.so \ -DPYTHON_INCLUDE_DIR=%{python3_inc} \ -DPYTHON_SITEDIR=%{python3_sitearch} \ -DPYTHON_LIB_DIR=%{python3_sitelib} @@ -219,6 +223,12 @@ done %{_libdir}/ruby/vendor_ruby/*/*/_yui.so %changelog +* Sat Jan 14 2023 Silvan Calarco 4.4.8-2mamba +- fix linking to python 3.11 instead of 3.7 + +* Fri Jan 13 2023 Automatic Build System 4.4.8-1mamba +- automatic version update by autodist + * Thu Nov 10 2022 Silvan Calarco 4.3.3-2mamba - added bindings subpackages