From 547aebb9ee5ea94f4be61024836245c04857d33a Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Mon, 19 Aug 2024 17:49:14 +0800 Subject: [PATCH 1/2] Added Buildarch:noarch to the help subpackage --- python-genshi.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/python-genshi.spec b/python-genshi.spec index 79a0757..7617d5d 100644 --- a/python-genshi.spec +++ b/python-genshi.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-genshi Version: 0.7.7 -Release: 2 +Release: 3 Summary: Toolkit for stream-based generation of output for the web License: BSD-3-Clause URL: http://genshi.edgewall.org/ @@ -27,13 +27,8 @@ Genshi is a Python library that provides an integrated set of components for parsing, generating, and processing HTML, XML or other textual content for output generation on the web. -%package help -Summary: Development documents and examples for Genshi +%package_help Provides: python3-genshi-doc -%description help -Genshi is a Python library that provides an integrated set of -components for parsing, generating, and processing HTML, XML -or other textual content for output generation on the web. %prep %autosetup -n Genshi-%{version} @@ -79,6 +74,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Aug 19 2024 chengsongyuxuan - 0.7.7-3 +- Replaced declaration of help subpackage with the 'package_help' macro. + * Wed Jan 18 2023 yangbo - 0.7.7-2 - Fix installation with setuptools >= 60 -- Gitee From d27938a1544e3de4b77b66de36f74ba756f6daea Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Tue, 20 Aug 2024 14:41:34 +0800 Subject: [PATCH 2/2] Add Buildarch: noarch to the help subpackage --- python-genshi.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/python-genshi.spec b/python-genshi.spec index 7617d5d..b2e3128 100644 --- a/python-genshi.spec +++ b/python-genshi.spec @@ -27,9 +27,16 @@ Genshi is a Python library that provides an integrated set of components for parsing, generating, and processing HTML, XML or other textual content for output generation on the web. -%package_help +%package help +Summary: Development documents and examples for Genshi +Buildarch: noarch Provides: python3-genshi-doc +%description help +Genshi is a Python library that provides an integrated set of +components for parsing, generating, and processing HTML, XML +or other textual content for output generation on the web. + %prep %autosetup -n Genshi-%{version} @@ -75,7 +82,7 @@ mv %{buildroot}/doclist.lst . %changelog * Mon Aug 19 2024 chengsongyuxuan - 0.7.7-3 -- Replaced declaration of help subpackage with the 'package_help' macro. +- Add 'Buildarch: noarch' to the help subpackage. * Wed Jan 18 2023 yangbo - 0.7.7-2 - Fix installation with setuptools >= 60 -- Gitee