%define pyname ipaddress Name: python-%{pyname} Version: 1.0.16 Release: %mkrel 1 Summary: Port of the python 3.3+ ipaddress module to 2.6+ Group: Development/Python License: Python URL: https://pypi.python.org/pypi/%{pyname}/%{version} Source0: https://pypi.python.org/packages/source/i/%{pyname}/%{pyname}-%{version}.tar.gz BuildArch: noarch BuildRequires: pythonegg(2)(python) BuildRequires: pythonegg(2)(setuptools) %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. %prep %setup -q -n %{pyname}-%{version} %build %py2_build %install %py2_install %files %doc README.md %{python2_sitelib}/* %changelog * Fri Jan 22 2016 daviddavid <daviddavid> 1.0.16-1.mga6 + Revision: 926498 - new version: 1.0.16 * Thu Nov 19 2015 philippem <philippem> 1.0.15-2.mga6 + Revision: 904313 - bumb release because of backport in mga5 * Tue Nov 17 2015 philippem <philippem> 1.0.15-1.mga6 + Revision: 903855 - update to 1.0.15 * Fri Sep 25 2015 philippem <philippem> 1.0.14-1.mga6 + Revision: 883538 - fix %%doc - imported package python-ipaddress