rpms/lua/devel lua.spec,1.19,1.20

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Sun Oct 15 07:44:53 UTC 2006


Author: jwrdegoede

Update of /cvs/extras/rpms/lua/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8243

Modified Files:
	lua.spec 
Log Message:
* Sun Oct 15 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 5.1.1-2
- Only link /usr/bin/lua with readline / do not link %{_libdir}/liblua-5.1.so
  with readline so that we don't cause any License troubles for packages
  linking against liblua-5.1.so, otherwise lua could drag the GPL only readline
  lib into the linking of non GPL apps.



Index: lua.spec
===================================================================
RCS file: /cvs/extras/rpms/lua/devel/lua.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- lua.spec	14 Oct 2006 20:32:35 -0000	1.19
+++ lua.spec	15 Oct 2006 07:44:53 -0000	1.20
@@ -1,6 +1,6 @@
 Name:           lua
 Version:        5.1.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Powerful light-weight programming language
 Group:          Development/Languages
 License:        MIT
@@ -40,7 +40,9 @@
 
 %build
 %configure --with-readline
-make %{?_smp_mflags} 
+# 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"
 
 
 %install
@@ -69,6 +71,12 @@
 
 
 %changelog
+* Sun Oct 15 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 5.1.1-2
+- Only link /usr/bin/lua with readline / do not link %%{_libdir}/liblua-5.1.so
+  with readline so that we don't cause any License troubles for packages
+  linking against liblua-5.1.so, otherwise lua could drag the GPL only readline
+  lib into the linking of non GPL apps.
+
 * Sat Oct 14 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 5.1.1-1
 - New upstream release 5.1.1
 - Fix detection of readline during compile (iow add readline support back)




More information about the fedora-extras-commits mailing list