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 1189b23fc5
commit e32f36f5ef

View File

@ -18,7 +18,7 @@
Name: python-%{srcname}
# When updating, update the bundled libraries versions bellow!
Version: 9.0.1
Release: 10%{?dist}
Release: 11%{?dist}
Summary: A tool for installing and managing Python packages
Group: Development/Libraries
@ -135,6 +135,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
@ -202,11 +203,6 @@ rm %{buildroot}%{_bindir}/pip
%endif
%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 0%{?build_wheel}
%py2_install_wheel %{python2_wheelname}
%else
@ -299,6 +295,9 @@ py.test-%{python3_version} -m 'not network'
%endif # with_python3
%changelog
* Mon Dec 04 2017 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-11
- Reintroduce the ipaddress module in the python3 subpackage.
* Mon Nov 20 2017 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-10
- Add virtual provides for the bundled libraries. (rhbz#1096912)