7 Commits

View File

@ -3,8 +3,8 @@
%define libname libpython310
%define __libdir %{_libdir}
Name: python310
Version: 3.10.2
Release: 2mamba
Version: 3.10.11
Release: 1mamba
Summary: An interpreted, interactive, object-oriented programming language
Group: Applications/Development
Vendor: openmamba
@ -65,6 +65,7 @@ The Python implementation is portable: it runs on many brands of UNIX, on Window
%package -n %{libname}
Group: System/Libraries/Python
Summary: Libraries for Python
Obsoletes: python-typing-py310 <= 3.10.0.0-2mamba
%description -n %{libname}
Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java.
@ -189,8 +190,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
@ -203,9 +204,8 @@ exit 0
%posttrans
if [ $1 -ge 1 ]; then
# fix missing link when upgrading the package which provided a real /usr/bin/python*
[ -e %{_bindir}/python ] || /usr/sbin/update-alternatives --auto python
[ -e %{_bindir}/python3 ] || /usr/sbin/update-alternatives --auto python3
/usr/sbin/update-alternatives --auto python
/usr/sbin/update-alternatives --auto python3
fi
:
@ -282,6 +282,34 @@ find %{__libdir}/python%{majversion}/site-packages -name *.egg-info -type d -emp
%endif
%changelog
* Tue Apr 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.11-1mamba
- update to 3.10.11
- obsolete python-typing-py310
* Wed Oct 12 2022 Automatic Build System <autodist@mambasoft.it> 3.10.8-1mamba
- automatic version update by autodist
* Tue Sep 06 2022 Automatic Build System <autodist@mambasoft.it> 3.10.7-1mamba
- automatic version update by autodist
* Wed Aug 03 2022 Automatic Build System <autodist@mambasoft.it> 3.10.6-1mamba
- automatic version update by autodist
* Tue Jun 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.5-2mamba
- posttrans: always run update-alternatives for python and python3
* Tue Jun 07 2022 Automatic Build System <autodist@mambasoft.it> 3.10.5-1mamba
- automatic version update by autodist
* 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
* Thu Mar 17 2022 Automatic Build System <autodist@mambasoft.it> 3.10.3-1mamba
- automatic version update by autodist
* Thu Jan 27 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.2-2mamba
- macros.python310: fixed %python310_version and removed use of deprecated distutils