diff --git a/LICENSE b/LICENSE deleted file mode 100644 index ba42535..0000000 --- a/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2007-2018 Alastair Houghton - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/netifaces-0.10.9.tar.gz b/netifaces-0.10.9.tar.gz deleted file mode 100644 index c8303b8..0000000 --- a/netifaces-0.10.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2dee9ffdd16292878336a58d04a20f0ffe95555465fee7c9bd23b3490ef2abf3 -size 28844 diff --git a/netifaces-0.11.0.tar.gz b/netifaces-0.11.0.tar.gz new file mode 100644 index 0000000..11dbee0 --- /dev/null +++ b/netifaces-0.11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:043a79146eb2907edf439899f262b3dfe41717d34124298ed281139a8b93ca32 +size 30106 diff --git a/python-netifaces.changes b/python-netifaces.changes index 4a37be6..c26a5cf 100644 --- a/python-netifaces.changes +++ b/python-netifaces.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat Jul 17 06:40:25 UTC 2021 - Dirk Müller + +- update to 0.11.0: + * Fixing netmask calculation for IPv6 + * segfault when trying to access netifaces.ifaddresses + * Interpret missing gateway priority, handle some out of order metrics + ------------------------------------------------------------------- Fri May 24 11:00:13 UTC 2019 - pgajdos@suse.com diff --git a/python-netifaces.spec b/python-netifaces.spec index 62729da..db41991 100644 --- a/python-netifaces.spec +++ b/python-netifaces.spec @@ -1,7 +1,7 @@ # # spec file for package python-netifaces # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2011 Novell # # All modifications and additions to the file contributed by third parties @@ -19,15 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-netifaces -Version: 0.10.9 +Version: 0.11.0 Release: 0 Summary: Portable network interface information License: MIT Group: Development/Languages/Python -Url: https://github.com/al45tair/netifaces +URL: https://github.com/al45tair/netifaces Source0: https://pypi.io/packages/source/n/netifaces/netifaces-%{version}.tar.gz -# https://github.com/al45tair/netifaces/issues/40 -Source1: https://raw.githubusercontent.com/al45tair/netifaces/master/LICENSE Source2: https://raw.githubusercontent.com/al45tair/netifaces/master/test.py BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} @@ -51,7 +49,7 @@ provided by the socket options is normally less complete. %prep %setup -q -n netifaces-%{version} -cp %{SOURCE1} %{SOURCE2} . +cp %{SOURCE2} . %build %python_build @@ -63,7 +61,6 @@ cp %{SOURCE1} %{SOURCE2} . %python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python test.py | grep 'Interface lo' %files %{python_files} -%defattr(-,root,root,-) %license LICENSE %doc README.rst %{python_sitearch}/*