- modify default search path for info pages so that current directory is

searched last (#458633)
This commit is contained in:
Miroslav Lichvar 2008-09-04 13:45:43 +00:00
parent 9f1343179c
commit a78e66990b
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -up pinfo-0.6.9/src/datatypes.c.infopath pinfo-0.6.9/src/datatypes.c
--- pinfo-0.6.9/src/datatypes.c.infopath 2006-03-09 21:54:53.000000000 +0100
+++ pinfo-0.6.9/src/datatypes.c 2008-09-04 15:14:20.000000000 +0200
@@ -31,7 +31,7 @@ char *ftpviewer = "lynx";
char *maileditor = "mail";
char *printutility = "lpr";
char *manlinks = "1:8:2:3:4:5:6:7:9:n:l:p:o:3X11:3Xt:3X:3x";
-char *configuredinfopath = ".:/usr/share/info:/usr/info:/usr/local/share/info:/usr/local/info:/opt/info";
+char *configuredinfopath = "/usr/share/info:/usr/info:/usr/local/share/info:/usr/local/info:/opt/info:.";
char *ignoredmacros = 0;
char *rcfile = NULL;

View File

@ -1,7 +1,7 @@
Summary: An info file viewer
Name: pinfo
Version: 0.6.9
Release: 7%{?dist}
Release: 8%{?dist}
Group: System Environment/Base
License: GPLv2
URL: http://pinfo.alioth.debian.org
@ -10,6 +10,7 @@ Patch1: pinfo-0.6.9-xdg.patch
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
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel
@ -29,6 +30,7 @@ using regular expressions, and is based on the ncurses library.
%patch2 -p1 -b .infosuff
%patch3 -p1 -b .nogroup
%patch4 -p1 -b .mansection
%patch5 -p1 -b .infopath
%build
%configure --without-readline
@ -72,6 +74,10 @@ fi
rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Sep 04 2008 Miroslav Lichvar <mlichvar@redhat.com> 0.6.9-8
- modify default search path for info pages so that current
directory is searched last (#458633)
* Tue Apr 1 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.6.9-7
- drop symbolic links to avoid file conflict with perl-pmtools (bz 437612)