From 50744cd552947e0f2c8f075a9e04c10281bd276468059af324bd499da46d3a24 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 30 Mar 2017 11:34:40 +0000 Subject: [PATCH] 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 --- netifaces-0.10.4.tar.gz | 3 --- netifaces-0.10.5.tar.gz | 3 +++ python-netifaces.changes | 12 ++++++++++++ python-netifaces.spec | 22 +++++++++++----------- 4 files changed, 26 insertions(+), 14 deletions(-) delete mode 100644 netifaces-0.10.4.tar.gz create mode 100644 netifaces-0.10.5.tar.gz diff --git a/netifaces-0.10.4.tar.gz b/netifaces-0.10.4.tar.gz deleted file mode 100644 index 182a053..0000000 --- a/netifaces-0.10.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9656a169cb83da34d732b0eb72b39373d48774aee009a3d1272b7ea2ce109cde -size 22969 diff --git a/netifaces-0.10.5.tar.gz b/netifaces-0.10.5.tar.gz new file mode 100644 index 0000000..ea95a19 --- /dev/null +++ b/netifaces-0.10.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59d8ad52dd3116fcb6635e175751b250dc783fb011adba539558bd764e5d628b +size 24879 diff --git a/python-netifaces.changes b/python-netifaces.changes index 14661a7..61dd989 100644 --- a/python-netifaces.changes +++ b/python-netifaces.changes @@ -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 diff --git a/python-netifaces.spec b/python-netifaces.spec index d1f4576..9c511c7 100644 --- a/python-netifaces.spec +++ b/python-netifaces.spec @@ -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}/*