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

ed.spec

diff --git a/ed.spec b/ed.spec
index 5b809896a8ef25c508133a5a0f5e38f84924b5b1..3a3433bc2deb8021f1e8da64c91320ecd5989af7 100644 (file)
--- a/ed.spec
+++ b/ed.spec
@@ -12,7 +12,7 @@ Group(pl):    Aplikacje/Edytory
 Source:                ftp://prep.ai.mit.edu/pub/gnu/ed/%{name}-%{version}.tar.gz
 Patch0:                ed-info.patch
 Patch1:                ed-autoconf.patch
-Prereq:                /sbin/install-info
+Prereq:                /usr/sbin/fix-info-dir
 Buildroot:     /tmp/%{name}-%{version}-root
 
 %description
@@ -63,12 +63,10 @@ gzip -9nf $RPM_BUILD_ROOT{%{_mandir}/man1/*,%{_infodir}/*info*} \
        NEWS POSIX README
 
 %post
-/sbin/install-info %{_infodir}/ed.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}/ed.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.115645 seconds and 4 git commands to generate.