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:
parent
bf23c02fa3
commit
c8ba4b0c7a
@ -3,7 +3,7 @@
|
||||
%define libname libpython310
|
||||
%define __libdir %{_libdir}
|
||||
Name: python310
|
||||
Version: 3.10.11
|
||||
Version: 3.10.12
|
||||
Release: 1mamba
|
||||
Summary: An interpreted, interactive, object-oriented programming language
|
||||
Group: Applications/Development
|
||||
@ -53,6 +53,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
|
||||
@ -66,6 +67,7 @@ The Python implementation is portable: it runs on many brands of UNIX, on Window
|
||||
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.
|
||||
@ -80,8 +82,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.
|
||||
@ -95,6 +97,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.
|
||||
@ -108,6 +111,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.
|
||||
@ -181,9 +185,9 @@ rm -f %{buildroot}%{_bindir}/pydoc3
|
||||
rm -f %{buildroot}%{_bindir}/easy_install-3*
|
||||
rm -f %{buildroot}%{_bindir}/python3-config*
|
||||
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}%{_libdir}/pkgconfig/python3-embed.pc
|
||||
#rm -f %{buildroot}%{_libdir}/pkgconfig/python3-embed.pc
|
||||
|
||||
%clean
|
||||
[ "%{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
|
||||
%{_includedir}/python%{majversion}/internal/*.h
|
||||
%{_libdir}/pkgconfig/python-%{majversion}.pc
|
||||
#%{_libdir}/pkgconfig/python3.pc
|
||||
%{_libdir}/pkgconfig/python3.pc
|
||||
%{_libdir}/pkgconfig/python-%{majversion}-embed.pc
|
||||
#%{_libdir}/pkgconfig/python3-embed.pc
|
||||
%{_libdir}/pkgconfig/python3-embed.pc
|
||||
%{_prefix}/lib/rpm/pythondeps*.sh
|
||||
|
||||
%if "%{?bootstrap}" != "1"
|
||||
@ -282,6 +286,11 @@ find %{__libdir}/python%{majversion}/site-packages -name *.egg-info -type d -emp
|
||||
%endif
|
||||
|
||||
%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
|
||||
- update to 3.10.11
|
||||
- obsolete python-typing-py310
|
||||
|
Loading…
Reference in New Issue
Block a user