]> git.pld-linux.org Git - packages/findutils.git/commitdiff
- new {un}registering procedure for info pages with using
authorpius <pius@pld-linux.org>
Sun, 19 Sep 1999 09:05:40 +0000 (09:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  /usr/sbin/fix-info-dir,
- standarization to "* text: (link).  description" index info entries format.

Changed files:
    findutils.spec -> 1.20

findutils.spec

index 7c5c826da46a0bdb5485d6d8071625d2057322d0..9768ed2b66161f92f01c57ca826dc8b05cf98d70 100644 (file)
@@ -18,7 +18,7 @@ Patch2:               findutils-glibc.patch
 patch3:                findutils-glibc21.patch
 Patch4:                findutils-xargsoverflow.patch
 BuildRequires: texinfo
-Prereq:                /sbin/install-info
+Prereq:                /usr/sbin/fix-info-dir
 Buildroot:     /tmp/%{name}-%{version}-root
 
 %description
@@ -80,12 +80,10 @@ gzip -9fn $RPM_BUILD_ROOT%{_infodir}/find.info* \
        NEWS README TODO ChangeLog
 
 %post
-/sbin/install-info %{_infodir}/find.info.gz /etc/info-dir
+/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %preun
-if [ "$1" = "0" ]; then
-       /sbin/install-info --delete %{_infodir}/find.info.gz /etc/info-dir
-fi
+/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.064438 seconds and 4 git commands to generate.