From 8f5bf4a41f313a6fe027540910ecdc165750f42d Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Mon, 19 Aug 2024 13:26:24 +0800 Subject: [PATCH 1/2] Added Buildarch:noarch to the help subpackage --- python-aiohttp.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/python-aiohttp.spec b/python-aiohttp.spec index afa513e..afa7b43 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-aiohttp Version: 3.9.3 -Release: 3 +Release: 4 Summary: Async http client/server framework (asyncio) License: Apache 2 URL: https://github.com/aio-libs/aiohttp @@ -42,11 +42,7 @@ BuildRequires: gdb %description -n python3-aiohttp Async http client/server framework (asyncio). -%package help -Summary: Development documents and examples for aiohttp -Provides: python3-aiohttp-doc -%description help -Development documents and examples for aiohttp. +%package_help %prep %autosetup -n aiohttp-%{version} -p1 @@ -89,6 +85,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Aug 19 2024 chengsongyuxuan - 3.9.3-4 +- Replaced declaration of help subpackage with the 'package_help' macro. + * Mon May 06 2024 yaoxin - 3.9.3-3 - Fix CVE-2024-30251 -- Gitee From 6397f52d2ea078e172818815562523a22ed9513f Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Tue, 20 Aug 2024 12:30:31 +0800 Subject: [PATCH 2/2] Add Buildarch: noarch to the help subpackage --- python-aiohttp.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/python-aiohttp.spec b/python-aiohttp.spec index afa7b43..c6cef42 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -42,7 +42,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-%{version} -p1 @@ -86,7 +91,7 @@ mv %{buildroot}/doclist.lst . %changelog * Mon Aug 19 2024 chengsongyuxuan - 3.9.3-4 -- Replaced declaration of help subpackage with the 'package_help' macro. +- Add 'Buildarch: noarch' to the help subpackage. * Mon May 06 2024 yaoxin - 3.9.3-3 - Fix CVE-2024-30251 -- Gitee