SPECS: GiNaC.spec, classpath.spec, ispell.spec, prc-tools.spec, rp...

glen glen at pld-linux.org
Thu Jan 24 02:47:53 CET 2008


Author: glen                         Date: Thu Jan 24 01:47:53 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:
   GiNaC.spec (1.25 -> 1.26) , classpath.spec (1.33 -> 1.34) , ispell.spec (1.45 -> 1.46) , prc-tools.spec (1.23 -> 1.24) , rpmDirectoryCheck.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/GiNaC.spec
diff -u SPECS/GiNaC.spec:1.25 SPECS/GiNaC.spec:1.26
--- SPECS/GiNaC.spec:1.25	Thu Jan 24 02:42:48 2008
+++ SPECS/GiNaC.spec	Thu Jan 24 02:47:47 2008
@@ -100,8 +100,8 @@
 %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 %{_infodir} >/dev/null 2>&1
+%postun devel	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
 %defattr(644,root,root,755)
@@ -136,6 +136,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2008-01-24 01:47:47  glen
+- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
+
 Revision 1.25  2008-01-24 01:42:48  glen
 - fix-info-dir doesn't make sense in preun, moved to postun
 

================================================================
Index: SPECS/classpath.spec
diff -u SPECS/classpath.spec:1.33 SPECS/classpath.spec:1.34
--- SPECS/classpath.spec:1.33	Thu Jan 24 02:36:30 2008
+++ SPECS/classpath.spec	Thu Jan 24 02:47:47 2008
@@ -137,8 +137,8 @@
 %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)
@@ -218,6 +218,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.34  2008-01-24 01:47:47  glen
+- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
+
 Revision 1.33  2008-01-24 01:36:30  glen
 - invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
 

================================================================
Index: SPECS/ispell.spec
diff -u SPECS/ispell.spec:1.45 SPECS/ispell.spec:1.46
--- SPECS/ispell.spec:1.45	Thu Jan 24 02:42:48 2008
+++ SPECS/ispell.spec	Thu Jan 24 02:47:47 2008
@@ -124,8 +124,8 @@
 %post	-p	/sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
 %defattr(644,root,root,755)
@@ -145,6 +145,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.46  2008-01-24 01:47:47  glen
+- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
+
 Revision 1.45  2008-01-24 01:42:48  glen
 - fix-info-dir doesn't make sense in preun, moved to postun
 

================================================================
Index: SPECS/prc-tools.spec
diff -u SPECS/prc-tools.spec:1.23 SPECS/prc-tools.spec:1.24
--- SPECS/prc-tools.spec:1.23	Thu Jan 24 02:42:48 2008
+++ SPECS/prc-tools.spec	Thu Jan 24 02:47:47 2008
@@ -174,8 +174,8 @@
 	palmdev-prep --remove
 fi
 
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun	-p	/sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %preun arm
 if [ "$1" = "0" ]; then
@@ -223,6 +223,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2008-01-24 01:47:47  glen
+- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
+
 Revision 1.23  2008-01-24 01:42:48  glen
 - fix-info-dir doesn't make sense in preun, moved to postun
 

================================================================
Index: SPECS/rpmDirectoryCheck.spec
diff -u SPECS/rpmDirectoryCheck.spec:1.5 SPECS/rpmDirectoryCheck.spec:1.6
--- SPECS/rpmDirectoryCheck.spec:1.5	Thu Jan 24 02:42:48 2008
+++ SPECS/rpmDirectoryCheck.spec	Thu Jan 24 02:47:48 2008
@@ -69,8 +69,8 @@
 %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}
 
 %files
 %defattr(644,root,root,755)
@@ -89,6 +89,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2008-01-24 01:47:48  glen
+- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
+
 Revision 1.5  2008-01-24 01:42:48  glen
 - fix-info-dir doesn't make sense in preun, moved to postun
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/GiNaC.spec?r1=1.25&r2=1.26&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/classpath.spec?r1=1.33&r2=1.34&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ispell.spec?r1=1.45&r2=1.46&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/prc-tools.spec?r1=1.23&r2=1.24&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rpmDirectoryCheck.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list