From d77e3057d333ab0844fac483f8b2b7acec9ab7c6 Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Mon, 19 Aug 2024 16:21:59 +0800 Subject: [PATCH 1/2] Added Buildarch:noarch to the help subpackage --- python-cups.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/python-cups.spec b/python-cups.spec index f191364..19fafa9 100644 --- a/python-cups.spec +++ b/python-cups.spec @@ -1,6 +1,6 @@ Name: python-cups Version: 2.0.1 -Release: 2 +Release: 3 Summary: Python bindings for CUPS License: GPLv2+ URL: http://cyberelk.net/tim/software/pycups/ @@ -17,14 +17,10 @@ Summary: Python3 bindings for CUPS API, known as pycups %description -n python3-cups This package can be known as pycups, which provides Python 3 bindings for CUPS API. -%package help -Summary: Help documentation for python-cups +%package_help Provides: python-cups-doc = %{version}-%{release} Obsoletes: python-cups-doc < %{version}-%{release} -%description help -Man pages and other related help documents for python-cups. - %prep %autosetup -n pycups-%{version} -p1 @@ -51,6 +47,9 @@ mv cups.html html %doc examples html %changelog +* Mon Aug 19 2024 chengsongyuxuan - 2.0.1-3 +- Replaced declaration of help subpackage with the 'package_help' macro. + * Mon Apr 24 2023 lixinhong - 2.0.1-2 - postscriptdriver.prov: ignore driverless utilities -- Gitee From c30f4189bfc1a9cca3105e0232e63f252cc829e6 Mon Sep 17 00:00:00 2001 From: chengsongyuxuan Date: Tue, 20 Aug 2024 13:57:14 +0800 Subject: [PATCH 2/2] Add Buildarch: noarch to the help subpackage --- python-cups.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/python-cups.spec b/python-cups.spec index 19fafa9..c1e2659 100644 --- a/python-cups.spec +++ b/python-cups.spec @@ -17,10 +17,15 @@ Summary: Python3 bindings for CUPS API, known as pycups %description -n python3-cups This package can be known as pycups, which provides Python 3 bindings for CUPS API. -%package_help +%package help +Summary: Help documentation for python-cups +Buildarch: noarch Provides: python-cups-doc = %{version}-%{release} Obsoletes: python-cups-doc < %{version}-%{release} +%description help +Man pages and other related help documents for python-cups. + %prep %autosetup -n pycups-%{version} -p1 @@ -48,7 +53,7 @@ mv cups.html html %changelog * Mon Aug 19 2024 chengsongyuxuan - 2.0.1-3 -- Replaced declaration of help subpackage with the 'package_help' macro. +- Add 'Buildarch: noarch' to the help subpackage. * Mon Apr 24 2023 lixinhong - 2.0.1-2 - postscriptdriver.prov: ignore driverless utilities -- Gitee