SPECS: opera.spec - fixed todo item

arekm arekm at pld-linux.org
Wed Nov 8 18:30:07 CET 2006


Author: arekm                        Date: Wed Nov  8 17:30:07 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed todo item

---- Files affected:
SPECS:
   opera.spec (1.202 -> 1.203) 

---- Diffs:

================================================================
Index: SPECS/opera.spec
diff -u SPECS/opera.spec:1.202 SPECS/opera.spec:1.203
--- SPECS/opera.spec:1.202	Wed Nov  8 16:56:24 2006
+++ SPECS/opera.spec	Wed Nov  8 18:30:01 2006
@@ -1,7 +1,6 @@
 # $Revision$, $Date$
 # TODO:
 # - move translations into a separate, noarch package
-# - opera wrapper contains: OPERA_SCRIPT_PATH=/home/users/builder/rpm/BUILD/opera-9.02-20060919.5-shared-qt.i386-en-434/$0
 #
 %bcond_without	shared		# static or shared version
 %bcond_without	distributable	# distributable or not
@@ -346,6 +345,8 @@
 install images/opera.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
 install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
 
+sed -i -e 's#\(.*\)OPERA_SCRIPT_PATH=.*\(\$0.*\)#\1OPERA_SCRIPT_PATH=%{_bindir}/\2#g' $RPM_BUILD_ROOT%{_bindir}/opera
+
 mv -f $RPM_BUILD_ROOT%{_datadir}/%{name}/config $RPM_BUILD_ROOT/etc
 
 %clean
@@ -381,6 +382,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.203  2006/11/08 17:30:01  arekm
+- fixed todo item
+
 Revision 1.202  2006/11/08 15:56:24  glen
 - fix static md5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/opera.spec?r1=1.202&r2=1.203&f=u



More information about the pld-cvs-commit mailing list