From a196a72a7d00c4bbb5644d4452e8011a995edf05 Mon Sep 17 00:00:00 2001 From: Sebastian Zagrodzki Date: Mon, 1 May 2000 20:11:40 +0000 Subject: [PATCH] - removed Prereq: /usr/sbin/fix-info-dir - fix-info-dir in %pre/post is executed only when info is already installed Changed files: conflib.spec -> 1.15 --- conflib.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/conflib.spec b/conflib.spec index 2101c55..933f68d 100644 --- a/conflib.spec +++ b/conflib.spec @@ -20,7 +20,6 @@ Summary: file for developing programs that use the conflib library Summary(de): Dateien zum Entwickeln von Programmen mit der conflib-Library Group: Development/Libraries Requires: %{name} = %{version} -Prereq: /usr/sbin/fix-info-dir %description devel This library makes it relativly easy to read configuration files (one or @@ -62,10 +61,10 @@ gzip -9nf $RPM_BUILD_ROOT%{_infodir}/*info* \ %postun -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 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 -- 2.43.0