]> git.pld-linux.org Git - packages/luajit.git/blobdiff - luajit.spec
Merge branch 'master' of git://git.pld-linux.org/packages/luajit
[packages/luajit.git] / luajit.spec
index 97a6cb861c430460a3aa707be5a37e1020ab187c..68009392947270012c1abf6b0703cd148aa4a1e4 100644 (file)
@@ -5,10 +5,11 @@ Version:      2.0.3
 Release:       2
 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,19 +49,26 @@ 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
+# NOTE: we use amalgamated build as per documentation suggestion doc/install.html
 %{__make} \
        PREFIX=%{_prefix} \
        MULTILIB=%{_lib} \
        CC="%{__cc}" \
        CCOPT="%{rpmcflags} -fomit-frame-pointer" \
        CCOPT_x86= \
+       MULTILIB=%{_lib} \
        E="@:" \
-       Q=
+       Q= \
+       amalg
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
        PREFIX=%{_prefix} \
This page took 0.085334 seconds and 4 git commands to generate.