From a78e66990b2ee673fa27ecf0e341b8cfafaf59f2 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 4 Sep 2008 13:45:43 +0000 Subject: [PATCH] - modify default search path for info pages so that current directory is searched last (#458633) --- pinfo-0.6.9-infopath.patch | 12 ++++++++++++ pinfo.spec | 8 +++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 pinfo-0.6.9-infopath.patch diff --git a/pinfo-0.6.9-infopath.patch b/pinfo-0.6.9-infopath.patch new file mode 100644 index 0000000..d5061e2 --- /dev/null +++ b/pinfo-0.6.9-infopath.patch @@ -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; + diff --git a/pinfo.spec b/pinfo.spec index 2b59097..e7f3d36 100644 --- a/pinfo.spec +++ b/pinfo.spec @@ -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 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 - 0.6.9-7 - drop symbolic links to avoid file conflict with perl-pmtools (bz 437612)