diff --git a/pinfo-0.6.10-man.patch b/pinfo-0.6.10-man.patch new file mode 100644 index 0000000..bdbfb44 --- /dev/null +++ b/pinfo-0.6.10-man.patch @@ -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, diff --git a/pinfo.spec b/pinfo.spec index bc5aaba..67b1314 100644 --- a/pinfo.spec +++ b/pinfo.spec @@ -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 - 0.6.10-6 +- Add -p and -d to manpage (#854900) + * Sat Jul 21 2012 Fedora Release Engineering - 0.6.10-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild