From ba580792a230f0fef95af6ebfc1e046175ae9fc4 Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Mon, 19 Aug 2024 13:55:59 +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 a7eff12..bf9e861 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: 1 +Release: 2 Summary: Async http client/server framework (asyncio) License: Apache 2 URL: https://github.com/aio-libs/aiohttp @@ -29,11 +29,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 @@ -76,5 +73,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Aug 19 2024 chengsongyuxuan - 3.7.4-2 +- Replaced declaration of help subpackage with the 'package_help' macro. + * Fri Jul 23 2021 wutao - 3.7.4-1 - Package init -- Gitee From b64405ab0cb29d3aecb50c3f0aa2dc6604501071 Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Tue, 20 Aug 2024 11:44:53 +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 bf9e861..9010640 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -29,8 +29,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 @@ -74,7 +78,7 @@ mv %{buildroot}/doclist.lst . %changelog * Mon Aug 19 2024 chengsongyuxuan - 3.7.4-2 -- Replaced declaration of help subpackage with the 'package_help' macro. +- Add 'Buildarch: noarch' to the help subpackage. * Fri Jul 23 2021 wutao - 3.7.4-1 - Package init -- Gitee