From 44c3af955614ad7d8d995381c99bb31d56a4bd3d Mon Sep 17 00:00:00 2001 From: siyongchang Date: Mon, 19 Aug 2024 08:58:33 +0000 Subject: [PATCH] Added 'Buildarch:noarch' to the help subpackage --- python-netifaces.spec | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/python-netifaces.spec b/python-netifaces.spec index e94a09b..150df7c 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 @@ -40,19 +40,8 @@ writing Python code without concerning yourself with the nitty gritty of system-dependent low-level networking APIs. This package attempts to solve that problem. -%package help -Summary: Development documents and examples for netifaces +%package_help Provides: python3-netifaces-doc -%description help -It’s been annoying me for some time that there’s no easy way to get the -address(es) of the machine’s network interfaces from Python. There is -a good reason for this difficulty, which is that it is virtually impossible -to do so in a portable manner. However, it seems to me that there should -be a package you can easy_install that will take care of working out the -details of doing so on the machine you’re using, then you can get on with -writing Python code without concerning yourself with the nitty gritty of -system-dependent low-level networking APIs. -This package attempts to solve that problem. %prep %autosetup -n netifaces-%{version} @@ -98,6 +87,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Aug 19 2024 siyongchang - 0.11.0-2 +- Replaced declaration of help subpackage with the 'package_help' macro. + * Sat Jun 04 2022 OpenStack_SIG - 0.11.0-1 - Upgrade python3-netifaces to version 0.11.0 -- Gitee