From 1c4550e4cf76b8e21b8ec36502c0f748b718c906 Mon Sep 17 00:00:00 2001 From: desert-sailor Date: Fri, 18 Jul 2025 13:23:55 +0800 Subject: [PATCH] Fix build error with setuptools new version 78.1.1 --- python-netifaces.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python-netifaces.spec b/python-netifaces.spec index e94a09b..2280ce9 100644 --- a/python-netifaces.spec +++ b/python-netifaces.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-netifaces Version: 0.11.0 -Release: 1 +Release: 2 Summary: Portable network interface information. License: MIT URL: https://github.com/al45tair/netifaces @@ -89,7 +89,8 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %check -%{__python3} setup.py test +export PYTHONPATH=%{buildroot}%{python3_sitearch} +%{__python3} test.py %files -n python3-netifaces -f filelist.lst %dir %{python3_sitearch}/* @@ -98,6 +99,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Fri Jul 18 2025 Dongxing Wang - 0.11.0-2 +- Fix build error with setuptools new version 78.1.1 + * Sat Jun 04 2022 OpenStack_SIG - 0.11.0-1 - Upgrade python3-netifaces to version 0.11.0 -- Gitee