Add -p and -d to manpage (#854900)

This commit is contained in:
Lukas Nykryn 2012-09-06 13:50:37 +02:00
parent eb5abdc251
commit 077c9d67dd
2 changed files with 32 additions and 1 deletions

26
pinfo-0.6.10-man.patch Normal file
View File

@ -0,0 +1,26 @@
diff --git a/doc/pinfo.1.in b/doc/pinfo.1.in
index 1882e7a..1a4da77 100644
--- a/doc/pinfo.1.in
+++ b/doc/pinfo.1.in
@@ -72,6 +72,10 @@ synonym for -r.
.BR --apropos
\- if this is set, apropos is called when no man or info page could be found.
.P
+.BR "-p",
+.BR --plain-apropos
+\- if this is set, call only apropos.
+.P
.BR "-c",
.BR --cut-man-headers
\- if this is set, man parsing code will try to cut out the repeated man
@@ -82,6 +86,10 @@ headers. Use with care. ;)
cut empty lines from manual pages. This option enables auto cutting of every
repeated newline in a manual page.
.P
+.BR "-d",
+.BR --dont-handle-without-tag-table
+\- don't display texinfo pages without tag table.
+.P
.BR "-t",
.BR "--force-manual-tag-table" \-
forces manual detection of tag table. This allows you to view info pages,

View File

@ -1,7 +1,7 @@
Summary: An info file viewer
Name: pinfo
Version: 0.6.10
Release: 5%{?dist}
Release: 6%{?dist}
Group: System Environment/Base
License: GPLv2
URL: http://pinfo.alioth.debian.org
@ -11,6 +11,7 @@ Patch2: pinfo-0.6.9-infosuff.patch
Patch3: pinfo-0.6.9-nogroup.patch
Patch4: pinfo-0.6.9-mansection.patch
Patch5: pinfo-0.6.9-infopath.patch
Patch6: pinfo-0.6.10-man.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel
@ -32,6 +33,7 @@ using regular expressions, and is based on the ncurses library.
%patch3 -p1 -b .nogroup
%patch4 -p1 -b .mansection
%patch5 -p1 -b .infopath
%patch6 -p1 -b .man
%build
./autogen.sh
@ -75,6 +77,9 @@ fi
rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Sep 06 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 0.6.10-6
- Add -p and -d to manpage (#854900)
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild