]> git.pld-linux.org Git - packages/gdbm18.git/blobdiff - gdbm18.spec
- removed Prereq: /usr/sbin/fix-info-dir
[packages/gdbm18.git] / gdbm18.spec
index d5f284800f975db80a8c1c3ac2a271b55e0b44b2..d335f60396891bd7e6bad80a4e5ed7a657b543a2 100644 (file)
@@ -53,7 +53,6 @@ Summary(tr):  gdbm i
 Group:         Development/Libraries
 Group(pl):     Programowanie/Biblioteki
 Requires:      %{name} = %{version}
-Prereq:                /usr/sbin/fix-info-dir
 
 %description devel
 These are the development libraries and header files for gdbm, the
@@ -128,12 +127,12 @@ gzip -fn9 $RPM_BUILD_ROOT{%{_infodir}/gdbm*info*,%{_mandir}/man3/*}
 %post -p /sbin/ldconfig
 
 %post devel
-/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %postun -p /sbin/ldconfig
 
 %postun devel
-/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.102429 seconds and 4 git commands to generate.