2015-02-23 23:55:07 +00:00
|
|
|
%global pypi_name netifaces
|
|
|
|
|
2011-06-17 19:28:33 +00:00
|
|
|
Name: python-netifaces
|
2016-11-14 19:08:51 +00:00
|
|
|
Version: 0.10.5
|
2017-02-11 09:41:51 +00:00
|
|
|
Release: 5%{?dist}
|
2015-06-16 15:51:14 +00:00
|
|
|
Summary: Python library to retrieve information about network interfaces
|
2011-06-17 19:28:33 +00:00
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: MIT
|
2015-02-23 23:55:07 +00:00
|
|
|
URL: https://pypi.python.org/pypi/netifaces
|
2016-11-14 19:08:51 +00:00
|
|
|
Source0: https://files.pythonhosted.org/packages/source/n/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
2011-06-17 18:57:41 +00:00
|
|
|
|
2011-06-17 19:28:33 +00:00
|
|
|
BuildRequires: python2-devel
|
2014-06-30 23:04:39 +00:00
|
|
|
BuildRequires: python-setuptools
|
2011-06-17 19:28:33 +00:00
|
|
|
|
2011-06-17 18:57:41 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package provides a cross platform API for getting address information
|
|
|
|
from network interfaces.
|
|
|
|
|
2016-11-14 19:08:51 +00:00
|
|
|
%package -n python2-%{pypi_name}
|
|
|
|
Summary: Python 2 library to retrieve information about network interfaces
|
|
|
|
%{?python_provide:%python_provide python2-%{pypi_name}}
|
|
|
|
|
|
|
|
%description -n python2-%{pypi_name}
|
|
|
|
This package provides a cross platform API for getting address information
|
|
|
|
from network interfaces.
|
|
|
|
|
|
|
|
%package -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
|
Summary: Python %{python3_pkgversion} library to retrieve information about network interfaces
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
2015-06-16 15:51:14 +00:00
|
|
|
|
2016-11-14 19:08:51 +00:00
|
|
|
%description -n python%{python3_pkgversion}-%{pypi_name}
|
2015-06-16 15:51:14 +00:00
|
|
|
This package provides a cross platform API for getting address information
|
|
|
|
from network interfaces.
|
|
|
|
|
2011-06-17 18:57:41 +00:00
|
|
|
|
|
|
|
%prep
|
2015-02-23 23:55:07 +00:00
|
|
|
%setup -q -n %{pypi_name}-%{version}
|
2011-06-17 18:57:41 +00:00
|
|
|
|
|
|
|
|
2015-10-20 21:36:48 +00:00
|
|
|
%build
|
2016-11-14 19:08:51 +00:00
|
|
|
%py2_build
|
|
|
|
%py3_build
|
2015-06-16 15:51:14 +00:00
|
|
|
|
2011-06-17 18:57:41 +00:00
|
|
|
|
|
|
|
%install
|
2016-11-14 19:08:51 +00:00
|
|
|
%py2_install
|
|
|
|
%py3_install
|
2015-06-16 15:51:14 +00:00
|
|
|
|
2011-06-17 18:57:41 +00:00
|
|
|
|
2016-11-14 20:23:02 +00:00
|
|
|
%files -n python2-%{pypi_name}
|
2015-02-23 23:55:07 +00:00
|
|
|
%doc README.rst
|
|
|
|
%{python2_sitearch}/%{pypi_name}-%{version}-*.egg-info/
|
|
|
|
%{python2_sitearch}/%{pypi_name}.so
|
2011-06-17 18:57:41 +00:00
|
|
|
|
2016-11-14 19:08:51 +00:00
|
|
|
%files -n python%{python3_pkgversion}-%{pypi_name}
|
2015-06-16 15:51:14 +00:00
|
|
|
%doc README.rst
|
|
|
|
%{python3_sitearch}/%{pypi_name}-%{version}-*.egg-info/
|
|
|
|
%{python3_sitearch}/%{pypi_name}*.so
|
|
|
|
|
2011-06-17 18:57:41 +00:00
|
|
|
%changelog
|
2017-02-11 09:41:51 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.5-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-22 12:08:41 +00:00
|
|
|
* Thu Dec 22 2016 Miro Hrončok <mhroncok@redhat.com> - 0.10.5-4
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
2016-12-19 17:20:37 +00:00
|
|
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.10.5-3
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
2016-11-14 20:23:02 +00:00
|
|
|
* Mon Nov 14 2016 Orion Poplawski <orion@cora.nwra.com> - 0.10.5-2
|
|
|
|
- Really ship python2-netifaces
|
|
|
|
|
2016-11-14 19:08:51 +00:00
|
|
|
* Mon Nov 14 2016 Orion Poplawski <orion@cora.nwra.com> - 0.10.5-1
|
|
|
|
- Update to 0.10.5
|
|
|
|
- Ship python2-netifaces
|
|
|
|
- Modernize spec
|
|
|
|
|
2016-07-19 10:37:06 +00:00
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.4-5
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
2016-02-04 20:15:12 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-11-10 16:26:55 +00:00
|
|
|
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
|
|
2015-06-16 15:51:14 +00:00
|
|
|
* Tue Jun 16 2015 Haïkel Guémar <hguemar@fedoraproject.org> - 0.10.4-2
|
|
|
|
- Add python3 subpackage
|
|
|
|
|
2015-02-23 23:55:07 +00:00
|
|
|
* Mon Feb 23 2015 Haïkel Guémar <hguemar@fedoraproject.org> - 0.10.4-1
|
|
|
|
- Upstream 0.10.4
|
|
|
|
- Packaging cleanups
|
|
|
|
|
2014-08-17 21:27:35 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-30 23:04:39 +00:00
|
|
|
* Mon Jun 30 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 0.5-7
|
|
|
|
- Replace python-setuptools-devel BR with python-setuptools
|
|
|
|
|
2014-06-07 21:36:14 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-04 08:37:47 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 19:55:59 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-21 07:23:33 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-14 01:55:07 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-06-17 18:57:41 +00:00
|
|
|
* Wed Jun 1 2011 Ryan Rix <ry@n.rix.si> 0.5-1
|
|
|
|
- Initial packaging effort
|