Reintroduce the ipaddress module in the python3 subpackage

as it is used within python3's upstream test suite.
This commit is contained in:
Charalampos Stratakis 2017-12-04 15:53:44 +01:00
parent 5fc56f6e70
commit dab9696043

View File

@ -25,7 +25,7 @@
Name: python-%{srcname}
# When updating, update the bundled libraries versions bellow!
Version: 9.0.1
Release: 13%{?dist}
Release: 14%{?dist}
Summary: A tool for installing and managing Python packages
Group: Development/Libraries
@ -150,6 +150,7 @@ Provides: bundled(python3dist(colorama)) = 0.3.7
Provides: bundled(python3dist(distlib)) = 0.2.4
Provides: bundled(python3dist(distro)) = 1.0.1
Provides: bundled(python3dist(html5lib)) = 1.0b10
Provides: bundled(python3dist(ipaddress) = 1.0.17
Provides: bundled(python3dist(lockfile)) = 0.12.2
Provides: bundled(python3dist(packaging)) = 16.8
Provides: bundled(python3dist(setuptools)) = 28.8.0
@ -221,11 +222,6 @@ rm pip/_vendor/ordereddict.py
rm %{buildroot}%{_bindir}/pip
%endif # with python3
# Remove the bundled ipaddress library from the python3 build
# as it is only required by the python2 one.
rm %{buildroot}%{python3_sitelib}/pip/_vendor/ipaddress.py
rm %{buildroot}%{python3_sitelib}/pip/_vendor/__pycache__/ipaddress.cpython-*.pyc
%if %{with python2}
%if %{without bootstrap}
%py2_install_wheel %{python2_wheelname}
@ -335,6 +331,9 @@ py.test-%{python3_version} -m 'not network'
%endif # with python3
%changelog
* Mon Dec 04 2017 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-14
- Reintroduce the ipaddress module in the python3 subpackage.
* Mon Nov 20 2017 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-13
- Add virtual provides for the bundled libraries. (rhbz#1096912)