fix linking to python 3.11 instead of 3.7 [release 4.4.8-2mamba;Sat Jan 14 2023]
This commit is contained in:
parent
9b2ee56641
commit
b8b1a717d1
14
libyui.spec
14
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 <silvan.calarco@mambasoft.it> 4.4.8-2mamba
|
||||
- fix linking to python 3.11 instead of 3.7
|
||||
|
||||
* Fri Jan 13 2023 Automatic Build System <autodist@mambasoft.it> 4.4.8-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Nov 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.3-2mamba
|
||||
- added bindings subpackages
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user