SPECS (AC-branch): binutils.spec - invoke fix-info-dir via /sbin/postshell ...
glen
glen at pld-linux.org
Tue Oct 14 20:29:10 CEST 2008
Author: glen Date: Tue Oct 14 18:29:10 2008 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
---- Files affected:
SPECS:
binutils.spec (1.198.2.6 -> 1.198.2.7)
---- Diffs:
================================================================
Index: SPECS/binutils.spec
diff -u SPECS/binutils.spec:1.198.2.6 SPECS/binutils.spec:1.198.2.7
--- SPECS/binutils.spec:1.198.2.6 Tue Oct 14 20:26:53 2008
+++ SPECS/binutils.spec Tue Oct 14 20:29:04 2008
@@ -263,20 +263,20 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
%post libs -p /sbin/ldconfig
%postun libs -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 -f %{name}.lang
%defattr(644,root,root,755)
@@ -331,6 +331,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.198.2.7 2008/10/14 18:29:04 glen
+- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
+
Revision 1.198.2.6 2008/10/14 18:26:53 glen
- convert to utf8
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/binutils.spec?r1=1.198.2.6&r2=1.198.2.7&f=u
More information about the pld-cvs-commit
mailing list