]> git.pld-linux.org Git - packages/luajit.git/commitdiff
always pass multilib param
authorElan Ruusamäe <glen@delfi.ee>
Wed, 27 Aug 2014 14:14:36 +0000 (17:14 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 27 Aug 2014 14:14:36 +0000 (17:14 +0300)
luajit.spec

index eb5d172363a5c82c1edaa27323f767d87072be7e..e0c88305bcc546d49e6fff8d07b0fcbac02366bf 100644 (file)
@@ -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} \
This page took 0.131468 seconds and 4 git commands to generate.