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]
This commit is contained in:
Silvan Calarco 2024-01-05 16:58:43 +01:00
parent bf23c02fa3
commit c8ba4b0c7a

View File

@ -3,7 +3,7 @@
%define libname libpython310 %define libname libpython310
%define __libdir %{_libdir} %define __libdir %{_libdir}
Name: python310 Name: python310
Version: 3.10.11 Version: 3.10.12
Release: 1mamba Release: 1mamba
Summary: An interpreted, interactive, object-oriented programming language Summary: An interpreted, interactive, object-oriented programming language
Group: Applications/Development Group: Applications/Development
@ -53,6 +53,7 @@ Requires: %{libname} = %{version}-%{release}
Provides: python-abi = %{majversion} Provides: python-abi = %{majversion}
Provides: python(abi) = %{majversion} Provides: python(abi) = %{majversion}
Provides: /usr/bin/python Provides: /usr/bin/python
Obsoletes: python39 < 3.10
#Provides: /usr/bin/python3 #Provides: /usr/bin/python3
%description %description
@ -66,6 +67,7 @@ The Python implementation is portable: it runs on many brands of UNIX, on Window
Group: System/Libraries/Python Group: System/Libraries/Python
Summary: Libraries for Python Summary: Libraries for Python
Obsoletes: python-typing-py310 <= 3.10.0.0-2mamba Obsoletes: python-typing-py310 <= 3.10.0.0-2mamba
Obsoletes: libpython39 < 3.10
%description -n %{libname} %description -n %{libname}
Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java. Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java.
@ -80,8 +82,8 @@ This package contains the libraries for Python.
Group: Development/Libraries/Python Group: Development/Libraries/Python
Summary: Devel package for Python Summary: Devel package for Python
Requires: %{libname} = %{version}-%{release} Requires: %{libname} = %{version}-%{release}
Provides: %{name}-devel = %{version}-%{release} Provides: %{name}-devel
Obsoletes: %{name}-devel < 3.9.4 Obsoletes: libpython39-devel < 3.10
%description -n %{libname}-devel %description -n %{libname}-devel
Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java. Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java.
@ -95,6 +97,7 @@ This package contains the development files for Python.
Group: Documentation Group: Documentation
Summary: Documentation package for Python Summary: Documentation package for Python
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Obsoletes: python39-doc < 3.10
%description doc %description doc
Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java. Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java.
@ -108,6 +111,7 @@ This package contains the documentation files for Python in HTML format.
Group: System/Libraries/Python Group: System/Libraries/Python
Summary: Tk library for Python Summary: Tk library for Python
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Obsoletes: python39-tk < 3.10
%description tk %description tk
Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java. Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java.
@ -181,9 +185,9 @@ rm -f %{buildroot}%{_bindir}/pydoc3
rm -f %{buildroot}%{_bindir}/easy_install-3* rm -f %{buildroot}%{_bindir}/easy_install-3*
rm -f %{buildroot}%{_bindir}/python3-config* rm -f %{buildroot}%{_bindir}/python3-config*
rm -f %{buildroot}%{_libdir}/libpython3.so rm -f %{buildroot}%{_libdir}/libpython3.so
rm -f %{buildroot}%{_libdir}/pkgconfig/python3.pc #rm -f %{buildroot}%{_libdir}/pkgconfig/python3.pc
rm -f %{buildroot}%{_mandir}/man1/python3.1* rm -f %{buildroot}%{_mandir}/man1/python3.1*
rm -f %{buildroot}%{_libdir}/pkgconfig/python3-embed.pc #rm -f %{buildroot}%{_libdir}/pkgconfig/python3-embed.pc
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -263,9 +267,9 @@ find %{__libdir}/python%{majversion}/site-packages -name *.egg-info -type d -emp
%dir %{_includedir}/python%{majversion}/internal %dir %{_includedir}/python%{majversion}/internal
%{_includedir}/python%{majversion}/internal/*.h %{_includedir}/python%{majversion}/internal/*.h
%{_libdir}/pkgconfig/python-%{majversion}.pc %{_libdir}/pkgconfig/python-%{majversion}.pc
#%{_libdir}/pkgconfig/python3.pc %{_libdir}/pkgconfig/python3.pc
%{_libdir}/pkgconfig/python-%{majversion}-embed.pc %{_libdir}/pkgconfig/python-%{majversion}-embed.pc
#%{_libdir}/pkgconfig/python3-embed.pc %{_libdir}/pkgconfig/python3-embed.pc
%{_prefix}/lib/rpm/pythondeps*.sh %{_prefix}/lib/rpm/pythondeps*.sh
%if "%{?bootstrap}" != "1" %if "%{?bootstrap}" != "1"
@ -282,6 +286,11 @@ find %{__libdir}/python%{majversion}/site-packages -name *.egg-info -type d -emp
%endif %endif
%changelog %changelog
* 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 * Tue Apr 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.11-1mamba
- update to 3.10.11 - update to 3.10.11
- obsolete python-typing-py310 - obsolete python-typing-py310