From 21bf1a346bbcfa0d3cba75cd0dda7ad1eb81f643 Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Mon, 19 Aug 2024 17:07:05 +0800 Subject: [PATCH 1/2] Added Buildarch:noarch to the help subpackage --- python-dulwich.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/python-dulwich.spec b/python-dulwich.spec index 31c3a50..6e5c3ce 100644 --- a/python-dulwich.spec +++ b/python-dulwich.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-dulwich Version: 0.22.1 -Release: 1 +Release: 2 Summary: Python Git Library License: Apachev2 or GPLv2+ or GPLv2 URL: https://www.dulwich.io/ @@ -26,13 +26,8 @@ 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. -%package help -Summary: Development documents and examples for dulwich +%package_help 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-%{version} @@ -75,6 +70,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Aug 19 2024 chengsongyuxuan - 0.22.1-2 +- Replaced declaration of help subpackage with the 'package_help' macro. + * Thu Aug 15 2024 Ge Wang - 0.22.1-1 - Update package to version 0.22.1 -- Gitee From 10b1fb682f480b1ef8714f159e6f9f1a74fac80b Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Tue, 20 Aug 2024 14:11:43 +0800 Subject: [PATCH 2/2] Add Buildarch: noarch to the help subpackage --- python-dulwich.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/python-dulwich.spec b/python-dulwich.spec index 6e5c3ce..01ac98c 100644 --- a/python-dulwich.spec +++ b/python-dulwich.spec @@ -26,9 +26,16 @@ 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. -%package_help +%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-%{version} @@ -71,7 +78,7 @@ mv %{buildroot}/doclist.lst . %changelog * Mon Aug 19 2024 chengsongyuxuan - 0.22.1-2 -- Replaced declaration of help subpackage with the 'package_help' macro. +- Add 'Buildarch: noarch' to the help subpackage. * Thu Aug 15 2024 Ge Wang - 0.22.1-1 - Update package to version 0.22.1 -- Gitee