rpms/tolua++/FC-4 tolua++.spec,1.1,1.2

Ian Chapman (oddsocks) fedora-extras-commits at redhat.com
Sun Jun 4 13:59:31 UTC 2006


Author: oddsocks

Update of /cvs/extras/rpms/tolua++/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32222/FC-4

Modified Files:
	tolua++.spec 
Log Message:
auto-import tolua++-1.0.92-3 on branch FC-4 from tolua++-1.0.92-3.src.rpm


Index: tolua++.spec
===================================================================
RCS file: /cvs/extras/rpms/tolua++/FC-4/tolua++.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- tolua++.spec	3 Jun 2006 13:48:45 -0000	1.1
+++ tolua++.spec	4 Jun 2006 13:59:31 -0000	1.2
@@ -2,7 +2,7 @@
 
 Name:           tolua++
 Version:        1.0.92
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A tool to integrate C/C++ code with Lua
 
 Group:          Development/Tools
@@ -37,6 +37,8 @@
 
 %build
 scons %{?_smp_mflags} -Q CCFLAGS="$RPM_OPT_FLAGS  -I%{_includedir}" tolua_lib=%{solib} LINKFLAGS="-Wl,-soname,lib%{solib}.so"
+#Recompile the exe without the soname. An ugly hack.
+gcc -o bin/tolua++ src/bin/tolua.o src/bin/toluabind.o -Llib -l%{solib} -llua -ldl -lm
 
 
 %install
@@ -72,7 +74,11 @@
 
 
 %changelog
-* Fri Jun 02 2006 Ian Chapman <packages at amiga-hardware.com> 1.0.92-2%{?dist}
+* Sat Jun 03 2006 Ian Chapman <packages at amiga-hardware.com> 1.0.92-3%{?dist}
+- Fixed issue with where tolua++ was tagged with an soname the same as the lib
+  meaning ld would fail to locate the library.
+
+* Fri Jun 02 2006 Ian Chapman <packages at amiga-hardware.com> 1.0.92-2
 - Changed license from Freeware Style to just Freeware
 - Changed => to more conventional >= for (build)requires
 - Moved %%{_bindir}/tolua++ to devel package




More information about the fedora-extras-commits mailing list