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:
parent
7d5f268cee
commit
50744cd552
@ -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
3
netifaces-0.10.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:59d8ad52dd3116fcb6635e175751b250dc783fb011adba539558bd764e5d628b
|
||||||
|
size 24879
|
@ -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
|
Sat May 24 09:42:16 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-netifaces
|
# 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
|
# Copyright (c) 2011 Novell
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# 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
|
Name: python-netifaces
|
||||||
Version: 0.10.4
|
Version: 0.10.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Portable network interface information
|
Summary: Portable network interface information
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://alastairs-place.net/projects/netifaces/
|
Url: http://alastairs-place.net/projects/netifaces/
|
||||||
Source: https://pypi.python.org/packages/source/n/netifaces/netifaces-%{version}.tar.gz
|
Source: https://pypi.python.org/packages/source/n/netifaces/netifaces-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module setuptools}
|
||||||
Provides: netifaces
|
BuildRequires: python-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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)")}
|
%python_subpackages
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
netifaces provides a (hopefully portable-ish) way for Python programmers to
|
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}
|
%setup -q -n netifaces-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/*
|
||||||
|
Loading…
Reference in New Issue
Block a user