]> git.pld-linux.org Git - packages/fftw3.git/commitdiff
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 24 Jan 2008 01:36:30 +0000 (01:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fftw3.spec -> 1.37

fftw3.spec

index 7d621eab0babc9b3ac6eb8cce19b44878779a5c1..a7981e9ef02b77a74fd9f36c2d45c39794f7502f 100644 (file)
@@ -291,11 +291,11 @@ rm -rf $RPM_BUILD_ROOT
 %post  long -p /sbin/ldconfig
 %postun        long -p /sbin/ldconfig
 
 %post  long -p /sbin/ldconfig
 %postun        long -p /sbin/ldconfig
 
-%post common-devel
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post common-devel     -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 
-%postun common-devel
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun common-devel   -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
 %defattr(644,root,root,755)
 
 %files
 %defattr(644,root,root,755)
This page took 0.076549 seconds and 4 git commands to generate.