summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Niemueller <timn@fedoraproject.org>2009-06-11 22:15:51 +0000
committerTim Niemueller <timn@fedoraproject.org>2009-06-11 22:15:51 +0000
commit348fec75692c9cd60b9bb13c02ee4a5fc3d96f26 (patch)
tree8a71400a2c522cebe93f42d4ab9fc7d5c127152a
parente210742581211f3b505f2077f048ce24e2d96d7f (diff)
downloadlua-348fec75692c9cd60b9bb13c02ee4a5fc3d96f26.tar.gz
lua-348fec75692c9cd60b9bb13c02ee4a5fc3d96f26.tar.xz
lua-348fec75692c9cd60b9bb13c02ee4a5fc3d96f26.zip
Link liblua.so with -lm (math lib), fixes rhbz #499238lua-5_1_4-2_fc10
-rw-r--r--lua.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/lua.spec b/lua.spec
index c37506c..916b73f 100644
--- a/lua.spec
+++ b/lua.spec
@@ -1,6 +1,6 @@
Name: lua
Version: 5.1.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Powerful light-weight programming language
Group: Development/Languages
License: MIT
@@ -53,7 +53,7 @@ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
# hack so that only /usr/bin/lua gets linked with readline as it is the
# only one which needs this and otherwise we get License troubles
-make %{?_smp_mflags} LIBS="-ldl" luac_LDADD="liblua.la -lm -ldl"
+make %{?_smp_mflags} LIBS="-lm -ldl" luac_LDADD="liblua.la -lm -ldl"
# also remove readline from lua.pc
sed -i 's/-lreadline -lncurses //g' etc/lua.pc
@@ -94,6 +94,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.a
%changelog
+* Thu Jun 11 2009 Tim Niemueller <tim@niemueller.de> - 5.1.4-2
+- Link liblua.so with -lm (math lib), fixes rhbz #499238
+
* Wed Sep 03 2008 Tim Niemueller <tim@niemueller.de> - 5.1.4-1
- New upstream release 5.1.4