import python3.9-3.9.9-2.el9
This commit is contained in:
parent
4bfc82ed74
commit
027856a21d
@ -17,7 +17,7 @@ URL: https://www.python.org/
|
|||||||
#global prerel ...
|
#global prerel ...
|
||||||
%global upstream_version %{general_version}%{?prerel}
|
%global upstream_version %{general_version}%{?prerel}
|
||||||
Version: %{general_version}%{?prerel:~%{prerel}}
|
Version: %{general_version}%{?prerel:~%{prerel}}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: Python
|
License: Python
|
||||||
|
|
||||||
|
|
||||||
@ -268,8 +268,8 @@ BuildRequires: /usr/bin/dtrace
|
|||||||
BuildRequires: /usr/sbin/ifconfig
|
BuildRequires: /usr/sbin/ifconfig
|
||||||
|
|
||||||
%if %{with rpmwheels}
|
%if %{with rpmwheels}
|
||||||
BuildRequires: python-setuptools-wheel
|
BuildRequires: %{python_wheel_pkg_prefix}-setuptools-wheel >= 53.0.0-7
|
||||||
BuildRequires: python-pip-wheel
|
BuildRequires: %{python_wheel_pkg_prefix}-pip-wheel >= 21.2.3-4
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{without bootstrap}
|
%if %{without bootstrap}
|
||||||
@ -522,8 +522,8 @@ This package contains /usr/bin/python - the "python" command that runs Python 3.
|
|||||||
Summary: Python runtime libraries
|
Summary: Python runtime libraries
|
||||||
|
|
||||||
%if %{with rpmwheels}
|
%if %{with rpmwheels}
|
||||||
Requires: python-setuptools-wheel
|
Requires: %{python_wheel_pkg_prefix}-setuptools-wheel >= 53.0.0-7
|
||||||
Requires: python-pip-wheel
|
Requires: %{python_wheel_pkg_prefix}-pip-wheel >= 21.2.3-4
|
||||||
%else
|
%else
|
||||||
Provides: bundled(python3dist(pip)) = %{pip_version}
|
Provides: bundled(python3dist(pip)) = %{pip_version}
|
||||||
Provides: bundled(python3dist(setuptools)) = %{setuptools_version}
|
Provides: bundled(python3dist(setuptools)) = %{setuptools_version}
|
||||||
@ -731,8 +731,8 @@ Provides: python%{pyshortver} = %{version}-%{release}
|
|||||||
Obsoletes: python%{pyshortver} < %{version}-%{release}
|
Obsoletes: python%{pyshortver} < %{version}-%{release}
|
||||||
|
|
||||||
%if %{with rpmwheels}
|
%if %{with rpmwheels}
|
||||||
Requires: python-setuptools-wheel
|
Requires: %{python_wheel_pkg_prefix}-setuptools-wheel >= 53.0.0-7
|
||||||
Requires: python-pip-wheel
|
Requires: %{python_wheel_pkg_prefix}-pip-wheel >= 21.2.3-4
|
||||||
%else
|
%else
|
||||||
Provides: bundled(python3dist(pip)) = %{pip_version}
|
Provides: bundled(python3dist(pip)) = %{pip_version}
|
||||||
Provides: bundled(python3dist(setuptools)) = %{setuptools_version}
|
Provides: bundled(python3dist(setuptools)) = %{setuptools_version}
|
||||||
@ -793,6 +793,10 @@ sed -i configure.ac \
|
|||||||
-e 's/\b%{platform_triplet_upstream}\b/%{platform_triplet_legacy}/'
|
-e 's/\b%{platform_triplet_upstream}\b/%{platform_triplet_legacy}/'
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Modify ensurepip, patched by `00189-use-rpm-wheels.patch`, to insert the
|
||||||
|
# actual %%python_wheel_dir location
|
||||||
|
sed -i Lib/ensurepip/__init__.py -e 's|_WHEEL_DIR = "/usr/share/python-wheels/"|_WHEEL_DIR = "%{python_wheel_dir}/"|'
|
||||||
|
|
||||||
|
|
||||||
# ======================================================
|
# ======================================================
|
||||||
# Configuring and building the code:
|
# Configuring and building the code:
|
||||||
@ -1786,6 +1790,11 @@ CheckPython optimized
|
|||||||
# ======================================================
|
# ======================================================
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 22 2021 Tomas Orsava <torsava@redhat.com> - 3.9.9-2
|
||||||
|
- Read pre-packaged Python wheels from a newly versioned directory
|
||||||
|
/usr/share/python3-wheels
|
||||||
|
- Resolves: rhbz#1982668
|
||||||
|
|
||||||
* Tue Nov 16 2021 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.9.9-1
|
* Tue Nov 16 2021 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.9.9-1
|
||||||
- Update to 3.9.9
|
- Update to 3.9.9
|
||||||
Resolves: rhbz#2024322
|
Resolves: rhbz#2024322
|
||||||
|
Loading…
Reference in New Issue
Block a user