5ea9581
%global srcname ifaddr
5ea9581
%global _description \
5ea9581
ifaddr is a small Python library that allows you to find all the IP addresses\
5ea9581
of the computer.
5ea9581
5ea9581
Name:           python-%{srcname}
5ea9581
Version:        0.1.6
646917f
Release:        2%{?dist}
5ea9581
Summary:        Python library that allows you to find all the IP addresses of the computer
5ea9581
5ea9581
# https://github.com/pydron/ifaddr/pull/18
5ea9581
License:        MIT
5ea9581
URL:            https://pypi.org/project/ifaddr/
5ea9581
Source:         %{pypi_source}
5ea9581
5ea9581
BuildArch:      noarch
5ea9581
5ea9581
%description %{_description}
5ea9581
5ea9581
%package -n python3-%{srcname}
5ea9581
Summary:        %{summary}
5ea9581
%{?python_provide:%python_provide python3-%{srcname}}
5ea9581
BuildRequires:  python3-devel
5ea9581
BuildRequires:  python3-setuptools
5ea9581
5ea9581
%description -n python3-%{srcname} %{_description}
5ea9581
5ea9581
Python 3 version.
5ea9581
5ea9581
%prep
5ea9581
%autosetup -n %{srcname}-%{version}
5ea9581
5ea9581
%build
5ea9581
%py3_build
5ea9581
5ea9581
%install
5ea9581
%py3_install
5ea9581
5ea9581
%files -n python3-%{srcname}
5ea9581
%doc README.rst
5ea9581
%{python3_sitelib}/%{srcname}/
5ea9581
%{python3_sitelib}/%{srcname}-*.egg-info/
5ea9581
5ea9581
%changelog
646917f
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.6-2
646917f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
646917f
5ea9581
* Thu Dec 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.6-1
5ea9581
- Initial package