]> git.pld-linux.org Git - packages/automake.git/commitdiff
- new {un}registering procedure for info pages with using
authorpius <pius@pld-linux.org>
Sun, 19 Sep 1999 09:05:39 +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:
    automake.spec -> 1.25

automake.spec

index 666600bc71e625700ee71bf225379146e2bd10c0..c4ae354f158d91f93be13df6c71fc10fcbfbdf19 100644 (file)
@@ -16,7 +16,7 @@ Patch2:               automake-1.4-19980208.patch
 Patch3:                automake-man.patch
 URL:           http://sourceware.cygnus.com/automake/
 Requires:      perl
-Prereq:                /sbin/install-info
+Prereq:                /usr/sbin/fix-info-dir
 Buildroot:     /tmp/%{name}-%{version}-root
 BuildArch:     noarch
 
@@ -65,12 +65,10 @@ gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/*info*,%{_mandir}/man1/*} \
        AUTHORS ChangeLog NEWS README THANKS TODO
 
 %post
-/sbin/install-info %{_infodir}/automake.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}/automake.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.294353 seconds and 4 git commands to generate.