From aa52da7c30722986928443d231646bbf7aab90c9 Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Mon, 19 Aug 2024 15:03:19 +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..9701a6c 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 734f89259708c9e7d9d4386d774344aab634d5e8 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 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/python-bcrypt.spec b/python-bcrypt.spec index 9701a6c..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 @@ -74,7 +79,7 @@ pytest %changelog * Mon Aug 19 2024 chengsongyuxuan - 3.2.2-2 -- Replaced declaration of help subpackage with the 'package_help' macro. +- Add 'Buildarch: noarch' to the help subpackage. * Fri Apr 28 2023 yaoxin - 3.2.2-1 - Update to 3.2.2 -- Gitee