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

gdbm18.spec

index 3e78af8b6f0eaf2ca27ce707f6f1dd4f4c9382f4..c8dbae98deb6b579338a1087ca254da594c4528d 100644 (file)
@@ -50,7 +50,7 @@ Summary(tr):  gdbm i
 Group:         Development/Libraries
 Group(pl):     Programowanie/Biblioteki
 Requires:      %{name} = %{version}
-Prereq:                /sbin/install-info
+Prereq:                /usr/sbin/fix-info-dir
 
 %description devel
 These are the development libraries and header files for gdbm, the
@@ -124,14 +124,12 @@ gzip -fn9 $RPM_BUILD_ROOT{%{_infodir}/gdbm*info*,%{_mandir}/man3/*}
 %post -p /sbin/ldconfig
 
 %post devel
-/sbin/install-info %{_infodir}/gdbm.info.gz /etc/info-dir
+/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %postun -p /sbin/ldconfig
 
 %preun devel
-if [ "$1" = "0" ]; then
-       /sbin/install-info --delete %{_infodir}/gdbm.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.072002 seconds and 4 git commands to generate.