Upgrade the version of python-netifaces to 0.11.0

This commit is contained in:
yuqi 2022-06-08 07:06:41 +00:00
parent e20acbc742
commit 2e1a861999
3 changed files with 23 additions and 13 deletions

Binary file not shown.

BIN
netifaces-0.11.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-netifaces Name: python-netifaces
Version: 0.10.9 Version: 0.11.0
Release: 2 Release: 1
Summary: Portable network interface information. Summary: Portable network interface information.
License: MIT License License: MIT
URL: https://github.com/al45tair/netifaces URL: https://github.com/al45tair/netifaces
Source0: https://files.pythonhosted.org/packages/0d/18/fd6e9c71a35b67a73160ec80a49da63d1eed2d2055054cc2995714949132/netifaces-0.10.9.tar.gz Source0: https://files.pythonhosted.org/packages/a6/91/86a6eac449ddfae239e93ffc1918cf33fd9bab35c04d1e963b311e347a73/netifaces-0.11.0.tar.gz
%description %description
Its been annoying me for some time that theres no easy way to get the Its been annoying me for some time that theres no easy way to get the
@ -21,8 +21,12 @@ This package attempts to solve that problem.
%package -n python3-netifaces %package -n python3-netifaces
Summary: Portable network interface information. Summary: Portable network interface information.
Provides: python-netifaces Provides: python-netifaces
# Base build requires
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-cffi BuildRequires: python3-cffi
BuildRequires: gcc BuildRequires: gcc
%description -n python3-netifaces %description -n python3-netifaces
@ -51,7 +55,7 @@ system-dependent low-level networking APIs.
This package attempts to solve that problem. This package attempts to solve that problem.
%prep %prep
%autosetup -n netifaces-0.10.9 %autosetup -n netifaces-%{version}
%build %build
%py3_build %py3_build
@ -84,6 +88,9 @@ popd
mv %{buildroot}/filelist.lst . mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst . mv %{buildroot}/doclist.lst .
%check
%{__python3} setup.py test
%files -n python3-netifaces -f filelist.lst %files -n python3-netifaces -f filelist.lst
%dir %{python3_sitearch}/* %dir %{python3_sitearch}/*
@ -91,6 +98,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Sat Jun 04 2022 OpenStack_SIG <openstack@openeuler.org> - 0.11.0-1
- Upgrade python3-netifaces to version 0.11.0
* Wed Aug 04 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.10.9-2 * Wed Aug 04 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.10.9-2
- DESC: delete BuildRequires gdb - DESC: delete BuildRequires gdb