SPECS: lua-logging.spec - use make install PREFIX=... instead of sedding th...

uzsolt uzsolt at pld-linux.org
Tue Sep 16 22:24:55 CEST 2008


Author: uzsolt                       Date: Tue Sep 16 20:24:55 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use make install PREFIX=... instead of sedding the Makefile

---- Files affected:
SPECS:
   lua-logging.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/lua-logging.spec
diff -u SPECS/lua-logging.spec:1.1 SPECS/lua-logging.spec:1.2
--- SPECS/lua-logging.spec:1.1	Tue Sep 16 21:50:56 2008
+++ SPECS/lua-logging.spec	Tue Sep 16 22:24:50 2008
@@ -21,14 +21,15 @@
 
 %prep
 %setup -q -n lualogging-%{version}
-sed -i "s|PREFIX =.*|PREFIX =$RPM_BUILD_ROOT%{_prefix}|" Makefile
 
 %build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_libdir}/lua/5.1
-%{__make} install
+%{__make} install \
+    PREFIX=$RPM_BUILD_ROOT%{_prefix}
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -45,6 +46,9 @@
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 $Log$
+Revision 1.2  2008/09/16 20:24:50  uzsolt
+- use make install PREFIX=... instead of sedding the Makefile
+
 Revision 1.1  2008/09/16 19:50:56  uzsolt
 - initial
 
================================================================

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



More information about the pld-cvs-commit mailing list