From 1fdb46be3609f4db529eb7c8c82b4f75e2393def Mon Sep 17 00:00:00 2001 From: siyongchang Date: Mon, 19 Aug 2024 13:12:47 +0800 Subject: [PATCH 1/2] Added Buildarch:noarch to the help subpackage --- python-kerberos.spec | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/python-kerberos.spec b/python-kerberos.spec index 07fc9cf..866784c 100644 --- a/python-kerberos.spec +++ b/python-kerberos.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-kerberos Version: 1.3.1 -Release: 2 +Release: 3 Summary: Kerberos high-level interface License: Apache-2.0 URL: https://github.com/apple/ccs-pykerberos @@ -27,16 +27,8 @@ functions that do what is needed for client/server Kerberos authentication based on . Much of the C-code here is adapted from Apache's mod_auth_kerb-5.0rc7. -%package help -Summary: Development documents and examples for kerberos +%package_help Provides: python3-kerberos-doc -%description help -This Python package is a high-level wrapper for Kerberos (GSSAPI) -operations. The goal is to avoid having to build a module that wraps -the entire Kerberos.framework, and instead offer a limited set of -functions that do what is needed for client/server Kerberos -authentication based on . -Much of the C-code here is adapted from Apache's mod_auth_kerb-5.0rc7. %prep %autosetup -n ccs-pykerberos-PyKerberos-1.3.1 @@ -79,6 +71,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Aug 19 2024 siyongchang - 1.3.1-3 +- Replaced declaration of help subpackage with the 'package_help' macro. + * Thu Jun 13 2024 wangkai <13474090681@163.com> - 1.3.1-2 - License compliance rectification -- Gitee From f464d1936f9d295f0542371849a36c2cfc752e64 Mon Sep 17 00:00:00 2001 From: siyongchang Date: Tue, 20 Aug 2024 05:06:35 +0000 Subject: [PATCH 2/2] Added 'Buildarch:noarch' to the help subpackage --- python-kerberos.spec | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/python-kerberos.spec b/python-kerberos.spec index 866784c..c40cc64 100644 --- a/python-kerberos.spec +++ b/python-kerberos.spec @@ -27,8 +27,17 @@ functions that do what is needed for client/server Kerberos authentication based on . Much of the C-code here is adapted from Apache's mod_auth_kerb-5.0rc7. -%package_help +%package help +Summary: Development documents and examples for kerberos +Buildarch: noarch Provides: python3-kerberos-doc +%description help +This Python package is a high-level wrapper for Kerberos (GSSAPI) +operations. The goal is to avoid having to build a module that wraps +the entire Kerberos.framework, and instead offer a limited set of +functions that do what is needed for client/server Kerberos +authentication based on . +Much of the C-code here is adapted from Apache's mod_auth_kerb-5.0rc7. %prep %autosetup -n ccs-pykerberos-PyKerberos-1.3.1 @@ -71,8 +80,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Mon Aug 19 2024 siyongchang - 1.3.1-3 -- Replaced declaration of help subpackage with the 'package_help' macro. +* Tue Aug 20 2024 siyongchang - 1.3.1-3 +- Added 'Buildarch:noarch' to the help subpackage * Thu Jun 13 2024 wangkai <13474090681@163.com> - 1.3.1-2 - License compliance rectification -- Gitee