SPECS: lua-doc.spec - PLEASE, PLEASE, PLEASE: test sed rules or use patches...

pawelz pawelz at pld-linux.org
Thu Sep 25 00:58:40 CEST 2008


Author: pawelz                       Date: Wed Sep 24 22:58:40 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- PLEASE, PLEASE, PLEASE: test sed rules or use patches!!!
- fixed sed rule, and moved it from %install to %prep

---- Files affected:
SPECS:
   lua-doc.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/lua-doc.spec
diff -u SPECS/lua-doc.spec:1.5 SPECS/lua-doc.spec:1.6
--- SPECS/lua-doc.spec:1.5	Thu Sep 25 00:44:32 2008
+++ SPECS/lua-doc.spec	Thu Sep 25 00:58:35 2008
@@ -28,6 +28,7 @@
 
 %prep
 %setup -q -n luadoc-%{version}
+%{__sed} -i -e '1s,lua,lua51,' src/luadoc.lua.in
 
 %build
 
@@ -35,7 +36,6 @@
 rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	PREFIX=$RPM_BUILD_ROOT%{_prefix}
-%{__sed} -i -e '1s,#!.*bin/lua,#!%{_bindir}/lua51,' $RPM_BUILD_ROOT%{_bindir}/luadoc
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -53,6 +53,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2008/09/24 22:58:35  pawelz
+- PLEASE, PLEASE, PLEASE: test sed rules or use patches!!!
+- fixed sed rule, and moved it from %install to %prep
+
 Revision 1.5  2008/09/24 22:44:32  pawelz
 - removed sed converting incorrect value to another incorect value of unused variable :-/
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/lua-doc.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list