diff --git a/netifaces-0.10.9.tar.gz b/netifaces-0.10.9.tar.gz deleted file mode 100644 index 97ea2e70f2f78ae539c4a5ecb097f9c2d64215c6..0000000000000000000000000000000000000000 Binary files a/netifaces-0.10.9.tar.gz and /dev/null differ diff --git a/netifaces-0.11.0.tar.gz b/netifaces-0.11.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..3a35596a416364861289f59b08277af3950fab75 Binary files /dev/null and b/netifaces-0.11.0.tar.gz differ diff --git a/python-netifaces.spec b/python-netifaces.spec index 37c36807b402ccd597ee2957137f1992712e3a2d..e94a09b062202b9c6eb9e8106622e1097a5c0376 100644 --- a/python-netifaces.spec +++ b/python-netifaces.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 -Name: python-netifaces -Version: 0.10.9 -Release: 2 -Summary: Portable network interface information. -License: MIT License -URL: https://github.com/al45tair/netifaces -Source0: https://files.pythonhosted.org/packages/0d/18/fd6e9c71a35b67a73160ec80a49da63d1eed2d2055054cc2995714949132/netifaces-0.10.9.tar.gz +Name: python-netifaces +Version: 0.11.0 +Release: 1 +Summary: Portable network interface information. +License: MIT +URL: https://github.com/al45tair/netifaces +Source0: https://files.pythonhosted.org/packages/a6/91/86a6eac449ddfae239e93ffc1918cf33fd9bab35c04d1e963b311e347a73/netifaces-0.11.0.tar.gz %description It’s been annoying me for some time that there’s no easy way to get the @@ -21,8 +21,12 @@ This package attempts to solve that problem. %package -n python3-netifaces Summary: Portable network interface information. Provides: python-netifaces +# Base build requires BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel BuildRequires: python3-cffi BuildRequires: gcc %description -n python3-netifaces @@ -51,7 +55,7 @@ system-dependent low-level networking APIs. This package attempts to solve that problem. %prep -%autosetup -n netifaces-0.10.9 +%autosetup -n netifaces-%{version} %build %py3_build @@ -65,25 +69,28 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . +%check +%{__python3} setup.py test + %files -n python3-netifaces -f filelist.lst %dir %{python3_sitearch}/* @@ -91,6 +98,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Sat Jun 04 2022 OpenStack_SIG - 0.11.0-1 +- Upgrade python3-netifaces to version 0.11.0 + * Wed Aug 04 2021 chenyanpanHW - 0.10.9-2 - DESC: delete BuildRequires gdb