diff --git python-netaddr/python-netaddr.spec python-netaddr/python-netaddr.spec.tmp index b22778b7f0..067d37be33 100644 --- python-netaddr/python-netaddr.spec +++ python-netaddr/python-netaddr.spec.tmp @@ -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 +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 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 - 0.7.19-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild