From 4a97b5b3fd719ad61cf5e1e04eac7bc41a70c585 Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Mon, 19 Aug 2024 14:51:34 +0800 Subject: [PATCH 1/3] Added Buildarch:noarch to the help subpackage --- python-bcrypt.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/python-bcrypt.spec b/python-bcrypt.spec index 05d43cb..d3c4179 100644 --- a/python-bcrypt.spec +++ b/python-bcrypt.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-bcrypt Version: 3.1.4 -Release: 1 +Release: 2 Summary: Modern password hashing for your software and your servers License: Apache-2.0 URL: https://github.com/pyca/bcrypt/ @@ -26,12 +26,8 @@ BuildRequires: python2-pytest Good password hashing for your software and your servers. This library should be compatible with py-bcrypt and it will run on Python 2.7, 3.4+, and PyPy 2.6+. -%package help -Summary: Development documents and examples for bcrypt +%package_help Provides: python2-bcrypt-doc -%description help -Good password hashing for your software and your servers. -This library should be compatible with py-bcrypt and it will run on Python 2.7, 3.4+, and PyPy 2.6+. %prep %autosetup -n bcrypt-3.1.4 -p1 @@ -77,5 +73,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Aug 19 2024 chengsongyuxuan - 3.1.4-2 +- Replaced declaration of help subpackage with the 'package_help' macro. + * Tue May 11 2021 OpenStack_SIG - Package Spec generated -- Gitee From eb9360c221676466a13dd4393758a0d0f0baf44b Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Tue, 20 Aug 2024 12:52:17 +0800 Subject: [PATCH 2/3] Add Buildarch: noarch to the help subpackage --- python-bcrypt.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/python-bcrypt.spec b/python-bcrypt.spec index d3c4179..f0de656 100644 --- a/python-bcrypt.spec +++ b/python-bcrypt.spec @@ -26,8 +26,13 @@ BuildRequires: python2-pytest Good password hashing for your software and your servers. This library should be compatible with py-bcrypt and it will run on Python 2.7, 3.4+, and PyPy 2.6+. -%package_help -Provides: python2-bcrypt-doc +%package help +Summary: Modern password hashing for your software and your servers +Buildarch: noarch +Provides: python3-bcrypt-doc +%description help +Good password hashing for your software and your servers. +This library should be compatible with py-bcrypt and it will run on Python 2.7, 3.4+, and PyPy 2.6+. %prep %autosetup -n bcrypt-3.1.4 -p1 @@ -74,7 +79,7 @@ mv %{buildroot}/doclist.lst . %changelog * Mon Aug 19 2024 chengsongyuxuan - 3.1.4-2 -- Replaced declaration of help subpackage with the 'package_help' macro. +- Add 'Buildarch: noarch' to the help subpackage. * Tue May 11 2021 OpenStack_SIG - Package Spec generated -- Gitee From 3ac9c4c0cc0ac02ae79ac8f2126e3c797332d0ea Mon Sep 17 00:00:00 2001 From: chengsongyuxuan <9119134+chengsongyuxuan@user.noreply.gitee.com> Date: Wed, 21 Aug 2024 07:16:58 +0000 Subject: [PATCH 3/3] update python-bcrypt.spec. Signed-off-by: chengsongyuxuan <9119134+chengsongyuxuan@user.noreply.gitee.com> --- python-bcrypt.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-bcrypt.spec b/python-bcrypt.spec index f0de656..c01860c 100644 --- a/python-bcrypt.spec +++ b/python-bcrypt.spec @@ -29,7 +29,7 @@ This library should be compatible with py-bcrypt and it will run on Python 2.7, %package help Summary: Modern password hashing for your software and your servers Buildarch: noarch -Provides: python3-bcrypt-doc +Provides: python2-bcrypt-doc %description help Good password hashing for your software and your servers. This library should be compatible with py-bcrypt and it will run on Python 2.7, 3.4+, and PyPy 2.6+. -- Gitee