diff --git python-ipaddress/python-ipaddress.spec python-ipaddress/python-ipaddress.spec.tmp index 0dc774fc8b..0fdd5c1e60 100644 --- python-ipaddress/python-ipaddress.spec +++ python-ipaddress/python-ipaddress.spec.tmp @@ -2,7 +2,7 @@ Name: python-%{pyname} Version: 1.0.18 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Port of the python 3.3+ ipaddress module to 2.6+ License: Python @@ -12,16 +12,24 @@ Source0: https://pypi.python.org/packages/source/i/%{pyname}/%{pyname}-%{ BuildArch: noarch BuildRequires: python2-devel -%description -ipaddress provides the capabilities to create, manipulate and operate -on IPv4 and IPv6 addresses and networks. - -The functions and classes in this module make it straightforward to -handle various tasks related to IP addresses, including checking -whether or not two hosts are on the same subnet, iterating over all -hosts in a particular subnet, checking whether or not a string +%global _description\ +ipaddress provides the capabilities to create, manipulate and operate\ +on IPv4 and IPv6 addresses and networks.\ +\ +The functions and classes in this module make it straightforward to\ +handle various tasks related to IP addresses, including checking\ +whether or not two hosts are on the same subnet, iterating over all\ +hosts in a particular subnet, checking whether or not a string\ represents a valid IP address or network definition, and so on. +%description %_description + +%package -n python2-%{pyname} +Summary: %summary +%{?python_provide:%python_provide python2-%{pyname}} + +%description -n python2-%{pyname} %_description + %prep %setup -q -n %{pyname}-%{version} @@ -35,12 +43,16 @@ rm -rf $RPM_BUILD_ROOT %{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT -%files +%files -n python2-%{pyname} %doc README.md %{python2_sitelib}/* %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 1.0.18-3 +- Python 2 binary package renamed to python2-ipaddress + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.0.18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild