From 2f75893dd359a1e129d9c3768a810a863e1eeef2 Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Mon, 19 Aug 2024 17:19:49 +0800 Subject: [PATCH 1/3] Added Buildarch:noarch to the help subpackage --- python-dulwich.spec | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/python-dulwich.spec b/python-dulwich.spec index 8ac7801..63a869d 100755 --- a/python-dulwich.spec +++ b/python-dulwich.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-dulwich Version: 0.15.0 -Release: 2 +Release: 3 Summary: Python Git Library License: Apachev2 or later or GPLv2 URL: https://www.dulwich.io/ @@ -35,20 +35,8 @@ BuildRequires: python2-setuptools in the particular Monty Python sketch. -%package help -Summary: Development documents and examples for dulwich +%package_help Provides: python2-dulwich-doc -%description help - - Python implementation of the Git file formats and protocols, - without the need to have git installed. - - All functionality is available in pure Python. Optional - C extensions can be built for improved performance. - - The project is named after the part of London that Mr. and Mrs. Git live in - in the particular Monty Python sketch. - %prep %autosetup -n dulwich-0.15.0 @@ -91,6 +79,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Aug 19 2024 chengsongyuxuan - 0.15.0-3 +- Replaced declaration of help subpackage with the 'package_help' macro. + * Sun May 23 2021 openstack-sig - Fix Provides * Tue May 11 2021 openstack-sig -- Gitee From e1bfd07c3b484f1e55bc6d1156326dce485d1827 Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Tue, 20 Aug 2024 14:20:55 +0800 Subject: [PATCH 2/3] Add Buildarch: noarch to the help subpackage --- python-dulwich.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/python-dulwich.spec b/python-dulwich.spec index 63a869d..7ebd746 100755 --- a/python-dulwich.spec +++ b/python-dulwich.spec @@ -35,8 +35,15 @@ BuildRequires: python2-setuptools in the particular Monty Python sketch. -%package_help -Provides: python2-dulwich-doc +%package help +Summary: Development documents and examples for dulwich +Buildarch: noarch +Provides: python3-dulwich-doc + +%description help +This is the Dulwich project. +It aims to provide an interface to git repos (both local and remote) that +doesn't call out to git directly but instead uses pure Python. %prep %autosetup -n dulwich-0.15.0 @@ -80,7 +87,7 @@ mv %{buildroot}/doclist.lst . %changelog * Mon Aug 19 2024 chengsongyuxuan - 0.15.0-3 -- Replaced declaration of help subpackage with the 'package_help' macro. +- Add 'Buildarch: noarch' to the help subpackage. * Sun May 23 2021 openstack-sig - Fix Provides -- Gitee From 5dbad0287e845f38b206d1b8e114515d76346031 Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Wed, 21 Aug 2024 09:28:53 +0800 Subject: [PATCH 3/3] Added Buildarch:noarch to the help subpackage --- python-dulwich.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python-dulwich.spec b/python-dulwich.spec index 7ebd746..56dc24b 100755 --- a/python-dulwich.spec +++ b/python-dulwich.spec @@ -41,9 +41,7 @@ Buildarch: noarch Provides: python3-dulwich-doc %description help -This is the Dulwich project. -It aims to provide an interface to git repos (both local and remote) that -doesn't call out to git directly but instead uses pure Python. +Python Git Library. %prep %autosetup -n dulwich-0.15.0 -- Gitee