SPECS: octave.spec - include site dir trees in package

qboosh qboosh at pld-linux.org
Mon May 12 23:36:52 CEST 2008


Author: qboosh                       Date: Mon May 12 21:36:52 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- include site dir trees in package

---- Files affected:
SPECS:
   octave.spec (1.94 -> 1.95) 

---- Diffs:

================================================================
Index: SPECS/octave.spec
diff -u SPECS/octave.spec:1.94 SPECS/octave.spec:1.95
--- SPECS/octave.spec:1.94	Thu Jan 24 02:36:34 2008
+++ SPECS/octave.spec	Mon May 12 23:36:46 2008
@@ -305,6 +305,10 @@
 install doc/faq/*.info* $RPM_BUILD_ROOT%{_infodir}
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
+# site dirs
+install -d $(./octave-config --oct-site-dir)
+install -d $(./octave-config --m-site-dir)
+
 ## xemacs-octave-mode-pkg
 install -d $RPM_BUILD_ROOT%{_datadir}/xemacs-packages/lisp/octave-mode
 cp -a emacs/*.el $RPM_BUILD_ROOT%{_datadir}/xemacs-packages/lisp/octave-mode
@@ -329,10 +333,10 @@
 /sbin/ldconfig
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
-%post devel	-p	/sbin/postshell
+%post	devel -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun devel	-p	/sbin/postshell
+%postun	devel -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
@@ -369,6 +373,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.95  2008-05-12 21:36:46  qboosh
+- include site dir trees in package
+
 Revision 1.94  2008-01-24 01:36:34  glen
 - invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/octave.spec?r1=1.94&r2=1.95&f=u



More information about the pld-cvs-commit mailing list