diff --git python-iptools/python-iptools.spec python-iptools/python-iptools.spec.tmp index 692fa36ddb..a6058575b5 100644 --- python-iptools/python-iptools.spec +++ python-iptools/python-iptools.spec.tmp @@ -3,7 +3,7 @@ Name: python-iptools Version: 0.6.1 -Release: 11%{?dist} +Release: 12%{?dist} Summary: A few useful functions and objects for manipulating IP addresses in python License: BSD @@ -20,11 +20,19 @@ BuildRequires: python3-nose BuildRequires: python3-setuptools %endif # if with_python3 -%description -A few useful functions and objects for manipulating IPv4 and IPv6 addresses -in python. The project was inspired by a desire to be able to use CIDR address -notation to designate INTERNAL_IPS in a Django project's settings file. +%global _description\ +A few useful functions and objects for manipulating IPv4 and IPv6 addresses\ +in python. The project was inspired by a desire to be able to use CIDR address\ +notation to designate INTERNAL_IPS in a Django project's settings file.\ + +%description %_description + +%package -n python2-iptools +Summary: %summary +%{?python_provide:%python_provide python2-iptools} + +%description -n python2-iptools %_description %if 0%{?with_python3} %package -n python3-iptools @@ -81,7 +89,7 @@ popd %endif # with_python3 -%files +%files -n python2-iptools %doc AUTHORS CHANGES docs LICENSE README.md %{python_sitelib}/* @@ -93,6 +101,10 @@ popd %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.6.1-12 +- Python 2 binary package renamed to python2-iptools + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.6.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild