9 Commits

Author SHA1 Message Date
4dfe06c76e update to 3.10.13
remove python3.pc and python3-embed.pc in favour of python3 (3.11) package [release 3.10.13-1mamba;Sat Sep 23 2023]
2024-01-05 16:58:44 +01:00
c8ba4b0c7a update to 3.10.12
obsolete python 3.9 packages
install as pkgconfig default for python3 and python3-embed [release 3.10.12-1mamba;Sun Jul 30 2023]
2024-01-05 16:58:43 +01:00
bf23c02fa3 update to 3.10.11
obsolete python-typing-py310 [release 3.10.11-1mamba;Tue Apr 11 2023]
2024-01-05 16:58:42 +01:00
20857c5e85 automatic version update by autodist [release 3.10.8-1mamba;Wed Oct 12 2022] 2024-01-05 16:58:42 +01:00
69c2c2c2af automatic version update by autodist [release 3.10.7-1mamba;Tue Sep 06 2022] 2024-01-05 16:58:42 +01:00
e12983c47e posttrans: always run update-alternatives for python and python3 [release 3.10.5-2mamba;Tue Jun 07 2022] 2024-01-05 16:58:41 +01:00
2d07a21353 bump alternatives priority to 78 to overcome python 3.9 [release 3.10.4-2mamba;Sun Jun 05 2022] 2024-01-05 16:58:41 +01:00
824e933324 automatic version update by autodist [release 3.10.4-1mamba;Thu Mar 24 2022] 2024-01-05 16:58:41 +01:00
cb84066cd7 automatic version update by autodist [release 3.10.3-1mamba;Thu Mar 17 2022] 2024-01-05 16:58:41 +01:00

View File

@ -3,8 +3,8 @@
%define libname libpython310
%define __libdir %{_libdir}
Name: python310
Version: 3.10.2
Release: 2mamba
Version: 3.10.13
Release: 1mamba
Summary: An interpreted, interactive, object-oriented programming language
Group: Applications/Development
Vendor: openmamba
@ -36,6 +36,7 @@ BuildRequires: libtcl-devel
BuildRequires: libtirpc-devel
BuildRequires: libtk-devel
BuildRequires: libuuid-devel
BuildRequires: libxcrypt-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: glibc-devel >= 2.3.5
@ -53,6 +54,7 @@ Requires: %{libname} = %{version}-%{release}
Provides: python-abi = %{majversion}
Provides: python(abi) = %{majversion}
Provides: /usr/bin/python
Obsoletes: python39 < 3.10
#Provides: /usr/bin/python3
%description
@ -65,6 +67,8 @@ 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
Obsoletes: libpython39 < 3.10
%description -n %{libname}
Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java.
@ -79,8 +83,8 @@ This package contains the libraries for Python.
Group: Development/Libraries/Python
Summary: Devel package for Python
Requires: %{libname} = %{version}-%{release}
Provides: %{name}-devel = %{version}-%{release}
Obsoletes: %{name}-devel < 3.9.4
Provides: %{name}-devel
Obsoletes: libpython39-devel < 3.10
%description -n %{libname}-devel
Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java.
@ -94,6 +98,7 @@ This package contains the development files for Python.
Group: Documentation
Summary: Documentation package for Python
Requires: %{name} = %{version}-%{release}
Obsoletes: python39-doc < 3.10
%description doc
Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java.
@ -107,6 +112,7 @@ This package contains the documentation files for Python in HTML format.
Group: System/Libraries/Python
Summary: Tk library for Python
Requires: %{name} = %{version}-%{release}
Obsoletes: python39-tk < 3.10
%description tk
Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java.
@ -189,8 +195,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 +209,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 +287,43 @@ find %{__libdir}/python%{majversion}/site-packages -name *.egg-info -type d -emp
%endif
%changelog
* Sat Sep 23 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.13-1mamba
- update to 3.10.13
- remove python3.pc and python3-embed.pc in favour of python3 (3.11) package
* Sun Jul 30 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.12-1mamba
- update to 3.10.12
- obsolete python 3.9 packages
- install as pkgconfig default for python3 and python3-embed
* 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