SPECS: octave.spec - can run multiple simple commands with postshell
glen
glen at pld-linux.org
Tue May 13 00:08:44 CEST 2008
Author: glen Date: Mon May 12 22:08:44 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- can run multiple simple commands with postshell
---- Files affected:
SPECS:
octave.spec (1.95 -> 1.96)
---- Diffs:
================================================================
Index: SPECS/octave.spec
diff -u SPECS/octave.spec:1.95 SPECS/octave.spec:1.96
--- SPECS/octave.spec:1.95 Mon May 12 23:36:46 2008
+++ SPECS/octave.spec Tue May 13 00:08:39 2008
@@ -325,13 +325,13 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post
+%post -p /sbin/postshell
/sbin/ldconfig
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+-/usr/sbin/fix-info-dir -c %{_infodir}
-%postun
+%postun -p /sbin/postshell
/sbin/ldconfig
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+-/usr/sbin/fix-info-dir -c %{_infodir}
%post devel -p /sbin/postshell
-/usr/sbin/fix-info-dir -c %{_infodir}
@@ -373,6 +373,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.96 2008-05-12 22:08:39 glen
+- can run multiple simple commands with postshell
+
Revision 1.95 2008-05-12 21:36:46 qboosh
- include site dir trees in package
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/octave.spec?r1=1.95&r2=1.96&f=u
More information about the pld-cvs-commit
mailing list