From 7d7abf77db76c7d55c835f1ed1c245af87df246e Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Mon, 19 Aug 2024 14:33:07 +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 81b80d3..d4ed0c1 100644 --- a/python-bcrypt.spec +++ b/python-bcrypt.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-bcrypt Version: 4.1.3 -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: 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 @@ -79,6 +75,9 @@ pytest %{_docdir}/* %changelog +* Mon Aug 19 2024 chengsongyuxuan - 4.1.3-2 +- Replaced declaration of help subpackage with the 'package_help' macro. + * Sat May 11 2024 wangxiaomeng - 4.1.3-1 - Update to 4.1.3 - Dropped support for Python 3.6. -- Gitee From e2553c978d3bcf1ea3a025f7d3929c5ee91f9c47 Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Tue, 20 Aug 2024 12:37:06 +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 d4ed0c1..0dc983d 100644 --- a/python-bcrypt.spec +++ b/python-bcrypt.spec @@ -26,8 +26,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 @@ -76,7 +81,7 @@ pytest %changelog * Mon Aug 19 2024 chengsongyuxuan - 4.1.3-2 -- Replaced declaration of help subpackage with the 'package_help' macro. +- Add 'Buildarch: noarch' to the help subpackage. * Sat May 11 2024 wangxiaomeng - 4.1.3-1 - Update to 4.1.3 -- Gitee