devel/which which-2.18-direntry.patch, NONE, 1.1 which.spec, 1.17, 1.18

Karsten Hopp (karsten) fedora-extras-commits at redhat.com
Mon Nov 26 14:43:19 UTC 2007


Author: karsten

Update of /cvs/extras/devel/which
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6284

Modified Files:
	which.spec 
Added Files:
	which-2.18-direntry.patch 
Log Message:
- add dir entry for info page

which-2.18-direntry.patch:

--- NEW FILE which-2.18-direntry.patch ---
diff -up which-2.18/which.texinfo.direntry which-2.18/which.texinfo
--- which-2.18/which.texinfo.direntry	2007-11-26 15:37:28.000000000 +0100
+++ which-2.18/which.texinfo	2007-11-26 15:39:09.000000000 +0100
@@ -43,6 +43,11 @@ original English.
 @c !END COPYING
 @end ifinfo
 
+ at dircategory Individual utilities
+ at direntry
+* which: (which)which invocation.               Shows the full path of commands
+ at end direntry
+
 @titlepage
 @title Which
 @subtitle Show the full path of commands


Index: which.spec
===================================================================
RCS file: /cvs/extras/devel/which/which.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- which.spec	20 Nov 2007 13:43:02 -0000	1.17
+++ which.spec	26 Nov 2007 14:42:46 -0000	1.18
@@ -1,7 +1,7 @@
 Summary: Displays where a particular program in your path is located
 Name: which
 Version: 2.18
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2
 Group: Applications/System
 Source0: http://www.xs4all.nl/~carlo17/which/%{name}-%{version}.tar.gz
@@ -10,6 +10,7 @@
 Url: http://www.xs4all.nl/~carlo17/which/
 Patch: which-2.13-afs.patch
 Patch1: which-2.14-broken.patch
+Patch2: which-2.18-direntry.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires(preun): /sbin/install-info
 Requires(post): /sbin/install-info
@@ -23,6 +24,7 @@
 
 %patch -p1 -b .afs
 %patch1 -p1 -b .broken
+%patch2 -p1 -b .direntry
 
 %build
 %configure
@@ -36,6 +38,7 @@
 
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
 install -p -m 644 %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 
 %post
 /sbin/install-info --quiet --info-dir=%{_infodir} %{_infodir}/which.info.gz
@@ -57,6 +60,9 @@
 %{_mandir}/*/*
 
 %changelog
+* Mon Nov 26 2007 Karsten Hopp <karsten at redhat.com> 2.18-3
+- add dir entry for info page
+
 * Tue Nov 20 2007 Than Ngo <than at redhat.com> 2.18-2
 - cleanup specfile
 




More information about the scm-commits mailing list