import python-wheel-0.36.2-6.el9
This commit is contained in:
parent
d9464ee5a4
commit
bb40b48aee
@ -14,12 +14,11 @@
|
|||||||
%bcond_without main_python
|
%bcond_without main_python
|
||||||
|
|
||||||
%global pypi_name wheel
|
%global pypi_name wheel
|
||||||
%global python_wheelname %{pypi_name}-%{version}-py2.py3-none-any.whl
|
%global python_wheel_name %{pypi_name}-%{version}-py2.py3-none-any.whl
|
||||||
%global python_wheeldir %{_datadir}/python-wheels
|
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 0.36.2
|
Version: 0.36.2
|
||||||
Release: 4%{?dist}
|
Release: 6%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: Built-package format for Python
|
Summary: Built-package format for Python
|
||||||
|
|
||||||
@ -71,11 +70,18 @@ Summary: %{summary}
|
|||||||
|
|
||||||
|
|
||||||
%if %{without bootstrap}
|
%if %{without bootstrap}
|
||||||
%package wheel
|
%package -n %{python_wheel_pkg_prefix}-%{pypi_name}-wheel
|
||||||
Summary: The Python wheel module packaged as a wheel
|
Summary: The Python wheel module packaged as a wheel
|
||||||
%{bundled}
|
%{bundled}
|
||||||
|
Provides: %{name}-wheel = %{epoch}:%{version}-%{release}
|
||||||
|
Obsoletes: %{name}-wheel < %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
%description wheel
|
# Older versions of python3-libs expect Python wheels at the old unversioned
|
||||||
|
# location, so we conflict with the old Python versions that wouldn't work with
|
||||||
|
# the new wheel location.
|
||||||
|
Conflicts: python3-libs < 3.9.9-2
|
||||||
|
|
||||||
|
%description -n %{python_wheel_pkg_prefix}-%{pypi_name}-wheel
|
||||||
A Python wheel of wheel to use with virtualenv.
|
A Python wheel of wheel to use with virtualenv.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -100,8 +106,8 @@ ln -s %{pypi_name}-3 %{buildroot}%{_bindir}/%{pypi_name}
|
|||||||
# We can only use bdist_wheel when wheel is installed, hence we don't build the wheel in %%build
|
# We can only use bdist_wheel when wheel is installed, hence we don't build the wheel in %%build
|
||||||
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
||||||
%py3_build_wheel
|
%py3_build_wheel
|
||||||
mkdir -p %{buildroot}%{python_wheeldir}
|
mkdir -p %{buildroot}%{python_wheel_dir}
|
||||||
install -p dist/%{python_wheelname} -t %{buildroot}%{python_wheeldir}
|
install -p dist/%{python_wheel_name} -t %{buildroot}%{python_wheel_dir}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
@ -122,14 +128,23 @@ rm setup.cfg # to drop pytest coverage options configured there
|
|||||||
%{python3_sitelib}/%{pypi_name}*/
|
%{python3_sitelib}/%{pypi_name}*/
|
||||||
|
|
||||||
%if %{without bootstrap}
|
%if %{without bootstrap}
|
||||||
%files wheel
|
%files -n %{python_wheel_pkg_prefix}-%{pypi_name}-wheel
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
# we own the dir for simplicity
|
# we own the dir for simplicity
|
||||||
%dir %{python_wheeldir}/
|
%dir %{python_wheel_dir}/
|
||||||
%{python_wheeldir}/%{python_wheelname}
|
%{python_wheel_dir}/%{python_wheel_name}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 24 2021 Tomas Orsava <torsava@redhat.com> - 1:0.36.2-6
|
||||||
|
- Conflict with old Python versions that use the old unversioned wheel location
|
||||||
|
- Resolves: rhbz#1982668
|
||||||
|
|
||||||
|
* Wed Sep 22 2021 Tomas Orsava <torsava@redhat.com> - 1:0.36.2-5
|
||||||
|
- Make the python-wheel-wheel subpackage versioned (python3-wheel-wheel),
|
||||||
|
and move its contents to a versioned directory /usr/share/python3-wheels
|
||||||
|
- Resolves: rhbz#1982668
|
||||||
|
|
||||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.36.2-4
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.36.2-4
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Related: rhbz#1991688
|
Related: rhbz#1991688
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user