+# TODO
+# - x32 not supported by upstream: http://www.freelists.org/post/luajit/Building-luajit202-on-x32,1
Summary: Just-in-Time compiler for Lua
Summary(pl.UTF-8): Kompilator JIT dla języka Lua
Name: luajit
-Version: 2.0.3
-Release: 2
+Version: 2.0.5
+Release: 1
License: MIT
Group: Libraries
# Source0Download: http://luajit.org/download.html
Source0: http://luajit.org/download/LuaJIT-%{version}.tar.gz
-# Source0-md5: f14e9104be513913810cd59c8c658dc0
+# Source0-md5: 48353202cbcacab84ee41a5a70ea0a2c
URL: http://luajit.org/
BuildRequires: sed >= 4.0
-ExclusiveArch: %{ix86} %{x8664} arm mips ppc
+ExclusiveArch: %{ix86} %{x8664} %{arm} mips ppc
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define lua_abi 5.1
# 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= \