SPECS: gcc2.spec, gettext.spec, guile-gnome-platform.spec, plotuti...

glen glen at pld-linux.org
Thu Jan 24 02:55:40 CET 2008


Author: glen                         Date: Thu Jan 24 01:55:40 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep

---- Files affected:
SPECS:
   gcc2.spec (1.40 -> 1.41) , gettext.spec (1.152 -> 1.153) , guile-gnome-platform.spec (1.9 -> 1.10) , plotutils.spec (1.58 -> 1.59) , xemacs-gnus-pkg.spec (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: SPECS/gcc2.spec
diff -u SPECS/gcc2.spec:1.40 SPECS/gcc2.spec:1.41
--- SPECS/gcc2.spec:1.40	Thu Jan 24 02:36:31 2008
+++ SPECS/gcc2.spec	Thu Jan 24 02:55:34 2008
@@ -412,11 +412,11 @@
 %postun chill	-p	/sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%post -n cpp2
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post -n cpp2	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun -n cpp2
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun -n cpp2	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %post   -p /sbin/ldconfig -n libstdc++2
 %postun -p /sbin/ldconfig -n libstdc++2
@@ -526,6 +526,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.41  2008-01-24 01:55:34  glen
+- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
+
 Revision 1.40  2008-01-24 01:36:31  glen
 - invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
 

================================================================
Index: SPECS/gettext.spec
diff -u SPECS/gettext.spec:1.152 SPECS/gettext.spec:1.153
--- SPECS/gettext.spec:1.152	Sun Dec  2 10:26:58 2007
+++ SPECS/gettext.spec	Thu Jan 24 02:55:34 2008
@@ -390,11 +390,11 @@
 %post	-n libasprintf -p /sbin/ldconfig
 %postun	-n libasprintf -p /sbin/ldconfig
 
-%post -n libasprintf-devel
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post -n libasprintf-devel	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun -n libasprintf-devel
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun -n libasprintf-devel	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files -f %{name}-runtime.lang
 %defattr(644,root,root,755)
@@ -517,6 +517,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.153  2008-01-24 01:55:34  glen
+- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
+
 Revision 1.152  2007-12-02 09:26:58  qboosh
 - R =~ s/cvs/cvs-client/
 

================================================================
Index: SPECS/guile-gnome-platform.spec
diff -u SPECS/guile-gnome-platform.spec:1.9 SPECS/guile-gnome-platform.spec:1.10
--- SPECS/guile-gnome-platform.spec:1.9	Thu Jan 24 02:36:32 2008
+++ SPECS/guile-gnome-platform.spec	Thu Jan 24 02:55:34 2008
@@ -292,26 +292,26 @@
 %postun	-p	/sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%post	-n guile-gnome-atk
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post	-n guile-gnome-atk	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun	-n guile-gnome-atk
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun	-n guile-gnome-atk	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%post	-n guile-gnome-canvas
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post	-n guile-gnome-canvas	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun	-n guile-gnome-canvas
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun	-n guile-gnome-canvas	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %post	-n guile-gnome-corba -p /sbin/ldconfig
 %postun	-n guile-gnome-corba -p /sbin/ldconfig
 
-%post	-n guile-gnome-gconf
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post	-n guile-gnome-gconf	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun	-n guile-gnome-gconf
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun	-n guile-gnome-gconf	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %post	-n guile-gnome-glib
 /sbin/ldconfig
@@ -321,41 +321,41 @@
 /sbin/ldconfig
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
 
-%post	-n guile-gnome-gnome-vfs
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post	-n guile-gnome-gnome-vfs	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun	-n guile-gnome-gnome-vfs
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun	-n guile-gnome-gnome-vfs	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%post	-n guile-gnome-gtk
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post	-n guile-gnome-gtk	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun	-n guile-gnome-gtk
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun	-n guile-gnome-gtk	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%post	-n guile-gnome-libglade
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post	-n guile-gnome-libglade	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun	-n guile-gnome-libglade
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun	-n guile-gnome-libglade	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%post	-n guile-gnome-libgnome
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post	-n guile-gnome-libgnome	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun	-n guile-gnome-libgnome
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun	-n guile-gnome-libgnome	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%post	-n guile-gnome-libgnomeui
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post	-n guile-gnome-libgnomeui	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun	-n guile-gnome-libgnomeui
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun	-n guile-gnome-libgnomeui	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%post	-n guile-gnome-pango
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post	-n guile-gnome-pango	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun	-n guile-gnome-pango
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun	-n guile-gnome-pango	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
 %defattr(644,root,root,755)
@@ -545,6 +545,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2008-01-24 01:55:34  glen
+- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
+
 Revision 1.9  2008-01-24 01:36:32  glen
 - invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
 

================================================================
Index: SPECS/plotutils.spec
diff -u SPECS/plotutils.spec:1.58 SPECS/plotutils.spec:1.59
--- SPECS/plotutils.spec:1.58	Thu Jan 24 02:23:01 2008
+++ SPECS/plotutils.spec	Thu Jan 24 02:55:34 2008
@@ -229,11 +229,11 @@
 %postun	-p	/sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%post	-n libxmi-devel
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post	-n libxmi-devel	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun	-n libxmi-devel
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun	-n libxmi-devel	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %post	-n libplot
 /sbin/ldconfig
@@ -314,6 +314,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.59  2008-01-24 01:55:34  glen
+- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
+
 Revision 1.58  2008-01-24 01:23:01  glen
 - invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
 

================================================================
Index: SPECS/xemacs-gnus-pkg.spec
diff -u SPECS/xemacs-gnus-pkg.spec:1.40 SPECS/xemacs-gnus-pkg.spec:1.41
--- SPECS/xemacs-gnus-pkg.spec:1.40	Mon Feb 12 23:09:22 2007
+++ SPECS/xemacs-gnus-pkg.spec	Thu Jan 24 02:55:34 2008
@@ -71,11 +71,11 @@
 install lisp/*.el* $RPM_BUILD_ROOT%{_datadir}/xemacs-packages/lisp/gnus
 install texi/gnus{,-[0-9]*} $RPM_BUILD_ROOT%{_infodir}
 
-%post -n xemacs-gnus-info-pkg
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post -n xemacs-gnus-info-pkg	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun -n xemacs-gnus-info-pkg
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun -n xemacs-gnus-info-pkg	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -96,6 +96,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.41  2008-01-24 01:55:34  glen
+- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
+
 Revision 1.40  2007-02-12 22:09:22  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gcc2.spec?r1=1.40&r2=1.41&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gettext.spec?r1=1.152&r2=1.153&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/guile-gnome-platform.spec?r1=1.9&r2=1.10&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/plotutils.spec?r1=1.58&r2=1.59&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xemacs-gnus-pkg.spec?r1=1.40&r2=1.41&f=u



More information about the pld-cvs-commit mailing list