From 1b6246e8697ebca81088a179488e34810128915d Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Mon, 19 Aug 2024 13:59:24 +0800 Subject: [PATCH 1/2] Added Buildarch:noarch to the help subpackage --- python-aiohttp.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/python-aiohttp.spec b/python-aiohttp.spec index bb9261c..d79abcf 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-aiohttp Version: 3.7.4 -Release: 3 +Release: 4 Summary: Async http client/server framework (asyncio) License: Apache 2 URL: https://github.com/aio-libs/aiohttp @@ -32,11 +32,8 @@ BuildRequires: gdb %description -n python3-aiohttp Async http client/server framework (asyncio). -%package help -Summary: Development documents and examples for aiohttp +%package_help Provides: python3-aiohttp-doc -%description help -Development documents and examples for aiohttp. %prep %autosetup -n aiohttp-3.7.4.post0 -p1 @@ -79,6 +76,10 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Aug 19 2024 chengsongyuxuan - 3.7.4-4 +- Replaced declaration of help subpackage with the 'package_help' macro. + + * Fri Dec 01 2023 wangkai <13474090681@163.com> - 3.7.4-3 - Fix CVE-2023-49081 -- Gitee From 17ace5bdb649b0c38e833b52f9ab21d5f6789fa3 Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Tue, 20 Aug 2024 12:21:19 +0800 Subject: [PATCH 2/2] Add Buildarch: noarch to the help subpackage --- python-aiohttp.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-aiohttp.spec b/python-aiohttp.spec index d79abcf..83fde9e 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -32,8 +32,12 @@ BuildRequires: gdb %description -n python3-aiohttp Async http client/server framework (asyncio). -%package_help +%package help +Summary: Development documents and examples for aiohttp +Buildarch: noarch Provides: python3-aiohttp-doc +%description help +Development documents and examples for aiohttp. %prep %autosetup -n aiohttp-3.7.4.post0 -p1 @@ -77,8 +81,7 @@ mv %{buildroot}/doclist.lst . %changelog * Mon Aug 19 2024 chengsongyuxuan - 3.7.4-4 -- Replaced declaration of help subpackage with the 'package_help' macro. - +- Add 'Buildarch: noarch' to the help subpackage. * Fri Dec 01 2023 wangkai <13474090681@163.com> - 3.7.4-3 - Fix CVE-2023-49081 -- Gitee