[luajit] 2.0.3 upstream release
Igor Gnatenko
ignatenkobrain at fedoraproject.org
Thu Mar 13 12:12:38 UTC 2014
commit e77c4fa63dc9364a6ac51a1fe1a3a42df9d067dc
Author: Igor Gnatenko <i.gnatenko.brain at gmail.com>
Date: Thu Mar 13 16:11:23 2014 +0400
2.0.3 upstream release
Signed-off-by: Igor Gnatenko <i.gnatenko.brain at gmail.com>
.gitignore | 1 +
luajit-path64.patch | 17 -----------------
luajit.spec | 21 +++++++++------------
sources | 2 +-
4 files changed, 11 insertions(+), 30 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3cb4ae4..7906afe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/LuaJIT-2.0.2.tar.gz
+/LuaJIT-2.0.3.tar.gz
diff --git a/luajit.spec b/luajit.spec
index f6a4a01..b682508 100644
--- a/luajit.spec
+++ b/luajit.spec
@@ -1,11 +1,10 @@
Name: luajit
-Version: 2.0.2
-Release: 9%{?dist}
+Version: 2.0.3
+Release: 1%{?dist}
Summary: Just-In-Time Compiler for Lua
License: MIT
URL: http://luajit.org/
Source0: http://luajit.org/download/LuaJIT-%{version}.tar.gz
-Patch0: luajit-path64.patch
%description
LuaJIT implements the full set of language features defined by Lua 5.1.
@@ -24,17 +23,11 @@ This package contains development files for %{name}.
echo '#!/bin/sh' > ./configure
chmod +x ./configure
-# drop no-stack-protector (besser82)
-sed -i -e '/-fno-stack-protector/s/^/#/' src/Makefile
-
-# fix .pc (besser82)
-sed -i -e 's!${.*prefix}/lib!%{_libdir}!g' etc/luajit.pc
-
# preserve timestamps (cicku)
sed -i -e '/install -m/s/-m/-p -m/' Makefile
%ifarch x86_64
-%patch0 -p1 -b .path64
+%global multilib_flag MULTILIB=lib64
%endif
%build
@@ -43,14 +36,15 @@ sed -i -e '/install -m/s/-m/-p -m/' Makefile
# E= @: - disable @echo messages
# NOTE: we use amalgamated build as per documentation suggestion doc/install.html
make amalg Q= E=@: PREFIX=%{_prefix} TARGET_STRIP=: \
- INSTALL_LIB=%{_libdir} CFLAGS="%{optflags}" \
+ CFLAGS="%{optflags}" \
+ %{?multilib_flag} \
%{?_smp_mflags}
%install
# PREREL= - disable -betaX suffix
# INSTALL_TNAME - executable name
%make_install PREFIX=%{_prefix} \
- INSTALL_LIB=%{buildroot}%{_libdir}
+ %{?multilib_flag}
rm -rf _tmp_html ; mkdir _tmp_html
cp -a doc _tmp_html/html
@@ -77,6 +71,9 @@ find %{buildroot} -type f -name *.a -delete
%{_libdir}/pkgconfig/*.pc
%changelog
+* Thu Mar 13 2014 Igor Gnatenko <i.gnatenko.brain at gmail.com> - 2.0.3-1
+- 2.0.3 upstream release
+
* Sun Dec 15 2013 Clive Messer <clive.messer at communitysqueeze.org> - 2.0.2-9
- Apply luajit-path64.patch on x86_64.
diff --git a/sources b/sources
index bb29ee1..82dc9fc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-112dfb82548b03377fbefbba2e0e3a5b LuaJIT-2.0.2.tar.gz
+f14e9104be513913810cd59c8c658dc0 LuaJIT-2.0.3.tar.gz
More information about the scm-commits
mailing list