Python 2 binary package renamed to python2-netaddr

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:41:42 -04:00
parent d3177c124a
commit 6f1d8f5036

View File

@ -4,7 +4,7 @@
Name: python-netaddr
Version: 0.7.19
Release: 3%{?dist}
Release: 4%{?dist}
Summary: A pure Python network address representation and manipulation library
License: BSD
@ -16,7 +16,6 @@ BuildRequires: python2-devel
BuildRequires: python-setuptools
BuildRequires: python-sphinx
BuildRequires: pytest
Provides: python2-netaddr = %{version}-%{release}
Patch0: 0001-fixed-broken-tests-in-issue-149-python-3-regression-.patch
@ -42,9 +41,17 @@ Layer 2 addresses\
* generating derived IPv6 addresses
%description
%global _description\
%{desc}
%description %_description
%package -n python2-netaddr
Summary: %summary
%{?python_provide:%python_provide python2-netaddr}
%description -n python2-netaddr %_description
%if 0%{?with_python3}
%package -n python3-netaddr
Summary: A pure Python network address representation and manipulation library
@ -105,7 +112,7 @@ py.test-%{python2_version}
LANG=en_US.UTF-8 py.test-%{python3_version}
%endif
%files
%files -n python2-netaddr
%license COPYRIGHT LICENSE
%doc AUTHORS CHANGELOG
%doc README.md docs/html
@ -122,6 +129,10 @@ LANG=en_US.UTF-8 py.test-%{python3_version}
%endif
%changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.7.19-4
- Python 2 binary package renamed to python2-netaddr
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.19-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild