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

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Fri Jan 19 15:03:00 UTC 2007


Author: jwrdegoede

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

Modified Files:
	lua.spec 
Log Message:
* Fri Jan 19 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 5.1.1-3
- Remove "-lreadline -lncurses" from lua.pc (bz 213895)



Index: lua.spec
===================================================================
RCS file: /cvs/extras/rpms/lua/devel/lua.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- lua.spec	15 Oct 2006 07:44:53 -0000	1.20
+++ lua.spec	19 Jan 2007 15:02:30 -0000	1.21
@@ -1,6 +1,6 @@
 Name:           lua
 Version:        5.1.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Powerful light-weight programming language
 Group:          Development/Languages
 License:        MIT
@@ -43,6 +43,8 @@
 # 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"
+# also remove readline from lua.pc
+sed -i 's/-lreadline -lncurses //g' etc/lua.pc
 
 
 %install
@@ -71,6 +73,9 @@
 
 
 %changelog
+* Fri Jan 19 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 5.1.1-3
+- Remove "-lreadline -lncurses" from lua.pc (bz 213895)
+
 * 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




More information about the scm-commits mailing list