bump alternatives priority to 78 to overcome python 3.9 [release 3.10.4-2mamba;Sun Jun 05 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 16:58:41 +01:00
parent 824e933324
commit 2d07a21353

View File

@ -4,7 +4,7 @@
%define __libdir %{_libdir}
Name: python310
Version: 3.10.4
Release: 1mamba
Release: 2mamba
Summary: An interpreted, interactive, object-oriented programming language
Group: Applications/Development
Vendor: openmamba
@ -189,8 +189,8 @@ rm -f %{buildroot}%{_libdir}/pkgconfig/python3-embed.pc
%post
if [ $1 -ge 1 ]; then
/usr/sbin/update-alternatives --install %{_bindir}/python python %{_bindir}/python%{majversion} 77
/usr/sbin/update-alternatives --install %{_bindir}/python3 python3 %{_bindir}/python%{majversion} 77
/usr/sbin/update-alternatives --install %{_bindir}/python python %{_bindir}/python%{majversion} 78
/usr/sbin/update-alternatives --install %{_bindir}/python3 python3 %{_bindir}/python%{majversion} 78
fi
exit 0
@ -282,6 +282,9 @@ find %{__libdir}/python%{majversion}/site-packages -name *.egg-info -type d -emp
%endif
%changelog
* Sun Jun 05 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.4-2mamba
- bump alternatives priority to 78 to overcome python 3.9
* Thu Mar 24 2022 Automatic Build System <autodist@mambasoft.it> 3.10.4-1mamba
- automatic version update by autodist