From 575c9ff03497fce63434cb1dbd94532f66cadcc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=AF=E6=99=AF=E5=8D=9A?= Date: Tue, 20 Aug 2024 09:27:09 +0800 Subject: [PATCH 1/2] Replaced declaration of help subpackage with the 'package_help' macro. --- SuperLU.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/SuperLU.spec b/SuperLU.spec index d56eced..384c1b5 100644 --- a/SuperLU.spec +++ b/SuperLU.spec @@ -1,6 +1,6 @@ Name: SuperLU Version: 6.0.1 -Release: 2 +Release: 3 Summary: Library for the direct solution of large, sparse, nonsymmetric systems of linear equations License: BSD and GPLv2+ URL: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/ @@ -22,14 +22,9 @@ Requires: SuperLU = %{version}-%{release} %description devel The package contains the header files and libraries for SuperLU development. -%package help -Summary: Documentation for SuperLU -Provides: SuperLU-doc = %{version}-%{release} -Obsoletes: SuperLU-doc < %{version}-%{release} +%package_help Requires: SuperLU = %{version}-%{release} -%description help -The package contains all the help documentation along with C and FORTRAN examples. %prep %autosetup -n superlu-%{version} -p1 @@ -70,6 +65,9 @@ cd - %doc DOC EXAMPLE FORTRAN %changelog +* Tue Aug 20 2024 Jingbo Hou - 6.0.1-3 +- Replaced declaration of help subpackage with the 'package_help' macro. + * Mon Feb 19 2024 xu_ping <707078654@qq.com> - 6.0.1-2 - Remove rpath -- Gitee From 8c2ecc925d145f76a80b98b036f646b3dc6a6043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=AF=E6=99=AF=E5=8D=9A?= Date: Tue, 20 Aug 2024 15:31:56 +0800 Subject: [PATCH 2/2] Added 'Buildarch: noarch' to the help subpackage. --- SuperLU.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/SuperLU.spec b/SuperLU.spec index 384c1b5..6e85954 100644 --- a/SuperLU.spec +++ b/SuperLU.spec @@ -22,9 +22,15 @@ Requires: SuperLU = %{version}-%{release} %description devel The package contains the header files and libraries for SuperLU development. -%package_help +%package help +Summary: Documentation for SuperLU +Buildarch: noarch +Provides: SuperLU-doc = %{version}-%{release} +Obsoletes: SuperLU-doc < %{version}-%{release} Requires: SuperLU = %{version}-%{release} +%description help +The package contains all the help documentation along with C and FORTRAN examples. %prep %autosetup -n superlu-%{version} -p1 @@ -66,7 +72,7 @@ cd - %changelog * Tue Aug 20 2024 Jingbo Hou - 6.0.1-3 -- Replaced declaration of help subpackage with the 'package_help' macro. +- Added 'Buildarch: noarch' to the help subpackage. * Mon Feb 19 2024 xu_ping <707078654@qq.com> - 6.0.1-2 - Remove rpath -- Gitee