Accepting request 482962 from home:1Antoine1:branches:devel:languages:python

- Update to version 0.10.5:
  * Fix setup.py in case there's no print
  * Fix a potential one-byte stack overwrite
  * Fix possible null pointer deference
  * Respect interface priorities when determining default gateway
  * Use CIDR notation for IPv6 netmasks
  * Ignore broadcast addresses in the 169.254.0.0/16 range
- Convert package to python singlespec.

OBS-URL: https://build.opensuse.org/request/show/482962
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netifaces?expand=0&rev=16
This commit is contained in:
Dirk Mueller 2017-03-30 11:34:40 +00:00 committed by Git OBS Bridge
parent 7d5f268cee
commit 50744cd552
4 changed files with 26 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9656a169cb83da34d732b0eb72b39373d48774aee009a3d1272b7ea2ce109cde
size 22969

3
netifaces-0.10.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59d8ad52dd3116fcb6635e175751b250dc783fb011adba539558bd764e5d628b
size 24879

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Mar 18 19:50:34 UTC 2017 - antoine.belvire@opensuse.org
- Update to version 0.10.5:
* Fix setup.py in case there's no print
* Fix a potential one-byte stack overwrite
* Fix possible null pointer deference
* Respect interface priorities when determining default gateway
* Use CIDR notation for IPv6 netmasks
* Ignore broadcast addresses in the 169.254.0.0/16 range
- Convert package to python singlespec.
-------------------------------------------------------------------
Sat May 24 09:42:16 UTC 2014 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-netifaces
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2011 Novell
#
# All modifications and additions to the file contributed by third parties
@ -17,21 +17,21 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-netifaces
Version: 0.10.4
Version: 0.10.5
Release: 0
Summary: Portable network interface information
License: MIT
Group: Development/Languages/Python
Url: http://alastairs-place.net/projects/netifaces/
Source: https://pypi.python.org/packages/source/n/netifaces/netifaces-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
Provides: netifaces
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif
%python_subpackages
%description
netifaces provides a (hopefully portable-ish) way for Python programmers to
@ -50,12 +50,12 @@ provided by the socket options is normally less complete.
%setup -q -n netifaces-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%files
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst
%{python_sitearch}/*