From 494aa6d32d7912f8c5d6af63e0121fe763efd7ff Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Mon, 19 Aug 2024 14:02:15 +0800 Subject: [PATCH 1/2] Added Buildarch:noarch to the help subpackage --- python-aiohttp.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/python-aiohttp.spec b/python-aiohttp.spec index 6d26098..bb42505 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: 4 +Release: 5 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,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Aug 19 2024 chengsongyuxuan - 3.7.4-5 +- Replaced declaration of help subpackage with the 'package_help' macro. + * Fri Dec 01 2023 wangkai <13474090681@163.com> - 3.7.4-4 - Fix CVE-2023-49081 -- Gitee From c35e4e5ba65d5af32cd6b5024490a3d42cf0fdf8 Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Tue, 20 Aug 2024 12:23:32 +0800 Subject: [PATCH 2/2] Add Buildarch: noarch to the help subpackage --- python-aiohttp.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python-aiohttp.spec b/python-aiohttp.spec index bb42505..d8854de 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,7 +81,7 @@ mv %{buildroot}/doclist.lst . %changelog * Mon Aug 19 2024 chengsongyuxuan - 3.7.4-5 -- 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-4 - Fix CVE-2023-49081 -- Gitee