From cf4857eaaa6854439f9e5e6b340c7f8d2456a0b9 Mon Sep 17 00:00:00 2001 From: lixuebing Date: Mon, 19 Aug 2024 18:01:42 +0800 Subject: [PATCH 1/2] Replaced declaration of help subpackage with the 'package_help' macro. --- pinfo.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/pinfo.spec b/pinfo.spec index 73073d2..e4b3d06 100644 --- a/pinfo.spec +++ b/pinfo.spec @@ -1,6 +1,6 @@ Name: pinfo Version: 0.6.13 -Release: 1 +Release: 2 Summary: An user-friendly, console-based viewer for Info documents License: GPLv2 URL: https://github.com/baszoetekouw/pinfo @@ -24,12 +24,14 @@ Pinfo is a hypertext info file viewer with a user interface similar to lynx. It is based on curses/ncurses, and can handle info pages as well as man pages. It also features regexp searching and user-defined colors/keys. -%package help -Summary: Help documents for pinfo -Requires: %{name} = %{version}-%{release} +%package help +Summary: Documents for pinfo +Buildarch: noarch +Requires: man info +Requires: %{name} = %{version}-%{release} -%description help -Pinfo-help provides man pages and other related help documents for pinfo. +%description help +Man pages and other related documents for pinfo. %prep %autosetup -n %{name}-%{version} -p1 @@ -58,6 +60,9 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir %{_mandir}/man1/pinfo.1* %changelog +* Mon Aug 19 2024 Xuebing Li - 0.6.13-2 +- Replaced declaration of help subpackage with the 'package_help' macro. + * Sun Oct 08 2023 yaoxin - 0.6.13-1 - Upgrade to 0.6.13 -- Gitee From 251faea5cd67463c13bf438a3dcbd4ecafc68242 Mon Sep 17 00:00:00 2001 From: lixuebing Date: Tue, 20 Aug 2024 09:30:52 +0800 Subject: [PATCH 2/2] Replaced declaration of help subpackage with the 'package_help' macro. --- pinfo.spec | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pinfo.spec b/pinfo.spec index e4b3d06..0b532c7 100644 --- a/pinfo.spec +++ b/pinfo.spec @@ -24,15 +24,9 @@ Pinfo is a hypertext info file viewer with a user interface similar to lynx. It is based on curses/ncurses, and can handle info pages as well as man pages. It also features regexp searching and user-defined colors/keys. -%package help -Summary: Documents for pinfo -Buildarch: noarch -Requires: man info +%package_help Requires: %{name} = %{version}-%{release} -%description help -Man pages and other related documents for pinfo. - %prep %autosetup -n %{name}-%{version} -p1 -- Gitee