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

aalib.spec

index e9027198b162c19fabe82ec546681a62ea69b92f..2a11da6f4aef145bd24ba57abb124dc7299cc437 100644 (file)
@@ -40,7 +40,7 @@ Summary(pl):  Pliki nag
 Group:         Libraries
 Group(pl):     Biblioteki
 Requires:      %{name} = %{version}
-Prereq:                /sbin/install-info
+Prereq:                /usr/sbin/fix-info-dir
 
 %description devel
 The header files for development of programs using the AAlib.
@@ -100,12 +100,10 @@ gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*.info \
 %postun -p /sbin/ldconfig
 
 %post devel
-/sbin/install-info %{_infodir}/aalib.info.gz /etc/info-dir
+/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %preun devel
-if [ "$1" = "0" ]; then
-       /sbin/install-info --delete %{_infodir}/aalib.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.02767 seconds and 4 git commands to generate.