SPECS: openoffice.org.spec - fix python path

arekm arekm at pld-linux.org
Wed Jul 27 08:55:36 CEST 2005


Author: arekm                        Date: Wed Jul 27 06:55:36 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix python path

---- Files affected:
SPECS:
   openoffice.org.spec (1.538 -> 1.539) 

---- Diffs:

================================================================
Index: SPECS/openoffice.org.spec
diff -u SPECS/openoffice.org.spec:1.538 SPECS/openoffice.org.spec:1.539
--- SPECS/openoffice.org.spec:1.538	Wed Jul 27 08:15:11 2005
+++ SPECS/openoffice.org.spec	Wed Jul 27 08:55:30 2005
@@ -1606,6 +1606,9 @@
 # Add in the regcomp tool since some people need it for 3rd party add-ons
 cp -f build/src%{subver}-%{bver}/solver/%{subver}/unxlng*.pro/bin/regcomp $RPM_BUILD_ROOT%{_libdir}/%{name}/program
 
+# fix python
+sed -i -e 's|#!/bin/python|#!%{_bindir}/python|g' $RPM_BUILD_ROOT%{_libdir}/%{name}/program/*.py
+
 # Really needed?
 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
 
@@ -2020,6 +2023,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.539  2005/07/27 06:55:30  arekm
+- fix python path
+
 Revision 1.538  2005/07/27 06:15:11  arekm
 - fixes in descriptions mixed with files.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/openoffice.org.spec?r1=1.538&r2=1.539&f=u




More information about the pld-cvs-commit mailing list