- modify default search path for info pages so that current directory is
searched last (#458633)
This commit is contained in:
parent
9f1343179c
commit
a78e66990b
12
pinfo-0.6.9-infopath.patch
Normal file
12
pinfo-0.6.9-infopath.patch
Normal 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;
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
Summary: An info file viewer
|
Summary: An info file viewer
|
||||||
Name: pinfo
|
Name: pinfo
|
||||||
Version: 0.6.9
|
Version: 0.6.9
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://pinfo.alioth.debian.org
|
URL: http://pinfo.alioth.debian.org
|
||||||
@ -10,6 +10,7 @@ Patch1: pinfo-0.6.9-xdg.patch
|
|||||||
Patch2: pinfo-0.6.9-infosuff.patch
|
Patch2: pinfo-0.6.9-infosuff.patch
|
||||||
Patch3: pinfo-0.6.9-nogroup.patch
|
Patch3: pinfo-0.6.9-nogroup.patch
|
||||||
Patch4: pinfo-0.6.9-mansection.patch
|
Patch4: pinfo-0.6.9-mansection.patch
|
||||||
|
Patch5: pinfo-0.6.9-infopath.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
@ -29,6 +30,7 @@ using regular expressions, and is based on the ncurses library.
|
|||||||
%patch2 -p1 -b .infosuff
|
%patch2 -p1 -b .infosuff
|
||||||
%patch3 -p1 -b .nogroup
|
%patch3 -p1 -b .nogroup
|
||||||
%patch4 -p1 -b .mansection
|
%patch4 -p1 -b .mansection
|
||||||
|
%patch5 -p1 -b .infopath
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --without-readline
|
%configure --without-readline
|
||||||
@ -72,6 +74,10 @@ fi
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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)
|
- drop symbolic links to avoid file conflict with perl-pmtools (bz 437612)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user