From: Elan Ruusamäe Date: Thu, 24 Jan 2008 01:36:30 +0000 (+0000) Subject: - invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep X-Git-Tag: auto/th/conflib-0_4_5-7 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fconflib.git;a=commitdiff_plain;h=0fe03e786d424937017cc7898bc27b73ee296d1e - invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep Changed files: conflib.spec -> 1.49 --- diff --git a/conflib.spec b/conflib.spec index 220faaf..c73003b 100644 --- a/conflib.spec +++ b/conflib.spec @@ -90,11 +90,11 @@ rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%post devel -[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 +%post devel -p /sbin/postshell +-/usr/sbin/fix-info-dir -c %{_infodir} -%postun devel -[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 +%postun devel -p /sbin/postshell +-/usr/sbin/fix-info-dir -c %{_infodir} %files %defattr(644,root,root,755)