commit 672be6943080d87a4bbf084292502d9e4fa0c27f
Author: Elan Ruusamäe <[email protected]>
Date:   Wed Aug 27 17:14:36 2014 +0300

    always pass multilib param

 luajit.spec | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/luajit.spec b/luajit.spec
index eb5d172..e0c8830 100644
--- a/luajit.spec
+++ b/luajit.spec
@@ -5,10 +5,11 @@ Version:      2.0.3
 Release:       1
 License:       MIT
 Group:         Libraries
-#Source0Download: http://luajit.org/download.html
+# Source0Download: http://luajit.org/download.html
 Source0:       http://luajit.org/download/LuaJIT-%{version}.tar.gz
 # Source0-md5: f14e9104be513913810cd59c8c658dc0
 URL:           http://luajit.org/
+BuildRequires: sed >= 4.0
 ExclusiveArch: %{ix86} %{x8664} arm mips ppc
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -48,17 +49,22 @@ Statyczna biblioteka LuaJIT.
 %prep
 %setup -q -n LuaJIT-%{version}
 
+# preserve timestamps
+sed -i -e '/install -m/s/-m/-p -m/' Makefile
+
 %build
+# Q= - enable verbose output
+# E= @: - disable @echo messages
 %{__make} \
        CC="%{__cc}" \
        CCOPT="%{rpmcflags} -fomit-frame-pointer" \
        CCOPT_x86= \
+       MULTILIB=%{_lib} \
        E="@:" \
        Q=
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
        PREFIX=%{_prefix} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/luajit.git/commitdiff/87827d693b670fd859eca83df033fdc9dae82db8

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to