]> git.pld-linux.org Git - packages/fftw.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:
    fftw.spec -> 1.7

fftw.spec

index 7cc78a972028629f05b5fd2b338aa2cd6bb14949..0db531abe513917cbf064fcb6a8775e12c8ed5c3 100644 (file)
--- a/fftw.spec
+++ b/fftw.spec
@@ -7,7 +7,7 @@ Group:          Libraries
 Source:                ftp://theory.lcs.mit.edu/pub/fftw/%{name}-%{version}.tar.gz
 Patch:         fftw-info.patch
 Icon:          fftw-logo-thumb.gif
-Prereq:                /sbin/install-info
+Prereq:                /usr/sbin/fix-info-dir
 URL:           http://theory.lcs.mit.edu/~fftw/
 BuildRoot:     /tmp/%{name}-%{version}-root
 
@@ -62,13 +62,10 @@ strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/fftw.info*
 
 %post devel
-/sbin/install-info %{_infodir}/%{name}.info.gz /etc/info-dir >&2
+/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %preun devel
-if [ "$1" = "0" ]; then
-        /sbin/install-info --delete %{_infodir}/%{name}.info.gz \
-                /etc/info-dir >&2
-fi
+/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.038557 seconds and 4 git commands to generate.