From 6f1d8f5036c1280f1b7ca18484951d131999dcef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 19 Aug 2017 09:41:42 -0400 Subject: [PATCH] Python 2 binary package renamed to python2-netaddr --- python-netaddr.spec | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/python-netaddr.spec b/python-netaddr.spec index b22778b..1ddf91c 100644 --- a/python-netaddr.spec +++ b/python-netaddr.spec @@ -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 - 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