From df9cc48707f2f7a302b288795d85ca2eece43ffe Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Mon, 19 Aug 2024 15:04:50 +0800 Subject: [PATCH 1/2] 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 7c619ac..ac72990 100644 --- a/python-bcrypt.spec +++ b/python-bcrypt.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-bcrypt Version: 3.2.2 -Release: 1 +Release: 2 Summary: Modern password hashing for your software and your servers License: Apache-2.0 URL: https://github.com/pyca/bcrypt/ @@ -24,12 +24,8 @@ BuildRequires: python3-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: Modern password hashing for your software and your servers +%package_help 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-%{version} -p1 @@ -77,6 +73,9 @@ pytest %{_docdir}/* %changelog +* Mon Aug 19 2024 chengsongyuxuan - 3.2.2-2 +- Replaced declaration of help subpackage with the 'package_help' macro. + * Fri Apr 28 2023 yaoxin - 3.2.2-1 - Update to 3.2.2 -- Gitee From 90af721eb35b4e4892aa07b98c0cf02c58fa1ce9 Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Tue, 20 Aug 2024 13:04:57 +0800 Subject: [PATCH 2/2] 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 ac72990..1f2666a 100644 --- a/python-bcrypt.spec +++ b/python-bcrypt.spec @@ -24,8 +24,13 @@ BuildRequires: python3-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 +%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-%{version} -p1 @@ -73,8 +78,8 @@ pytest %{_docdir}/* %changelog -* Mon Aug 19 2024 chengsongyuxuan - 3.2.2-2 -- Replaced declaration of help subpackage with the 'package_help' macro. +* Mon Aug 19 2024 chengsongyuxuan - 3.2.2-2 +- Add 'Buildarch: noarch' to the help subpackage. * Fri Apr 28 2023 yaoxin - 3.2.2-1 - Update to 3.2.2 -- Gitee