diff --git a/luabind-0.9.1-lua-5.3.patch b/luabind-0.9.1-lua-5.3.patch new file mode 100644 index 0000000..f95d8c3 --- /dev/null +++ b/luabind-0.9.1-lua-5.3.patch @@ -0,0 +1,24 @@ +--- luabind-0.9.1/Jamroot.orig 2016-07-08 23:28:27.938822820 +0200 ++++ luabind-0.9.1/Jamroot 2016-07-08 23:29:13.487757630 +0200 +@@ -64,7 +64,7 @@ + $(LUA_PATH) $(HOME)/Library/Frameworks /Library/Frameworks /usr /usr/local /opt/local /opt ; + + local possible-suffixes = +- include/lua5.2 include/lua52 include/lua include ; ++ include/lua5.3 include/lua53 include/lua5.2 include/lua52 include/lua include ; + + local includes = [ GLOB $(possible-prefixes)/$(possible-suffixes) : lua.h ] ; + +@@ -83,10 +83,10 @@ + + local lib = $(prefix)/lib ; + +- local names = liblua5.2 liblua52 liblua ; ++ local names = liblua5.3 liblua53 liblua5.2 liblua52 liblua ; + local extensions = .a .so ; + +- library = [ GLOB $(lib)/lua52 $(lib)/lua5.2 $(lib)/lua $(lib) : ++ library = [ GLOB $(lib)/lua53 $(lib)/lua5.3 $(lib)/lua52 $(lib)/lua5.2 $(lib)/lua $(lib) : + $(names)$(extensions) ] ; + lib-name = [ MATCH "lib(.*)" : $(library[1]:B) ] ; + diff --git a/luabind.spec b/luabind.spec index a58ef05..ef69152 100644 --- a/luabind.spec +++ b/luabind.spec @@ -1,6 +1,6 @@ Name: luabind Version: 0.9.1 -Release: 4mamba +Release: 5mamba Summary: A library that helps you create bindings between C++ and Lua Group: Development/Libraries Vendor: openmamba @@ -14,6 +14,7 @@ Patch1: luabind-0.9.1-x86_64-libdir.patch Patch2: luabind-0.9.1-libboost-1.55.patch Patch3: luabind-0.9.1-lua-5.2-Jamfile.patch Patch4: luabind-0.9.1-libboost-1.57.patch +Patch5: luabind-0.9.1-lua-5.3.patch License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -21,6 +22,7 @@ BuildRequires: libgcc BuildRequires: liblua-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END +BuildRequires: liblua-devel >= 5.3 BuildRequires: boost-jam BuildRequires: libboost-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -52,6 +54,7 @@ This package contains libraries and header files for developing applications tha %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %ifnarch x86_64 sed -i "s|/lib64|/lib|" Jamroot @@ -103,6 +106,9 @@ _EOF %{_libdir}/pkgconfig/luabind.pc %changelog +* Tue May 03 2016 Silvan Calarco 0.9.1-5mamba +- rebuilt with lua 5.3 + * Wed Dec 09 2015 Silvan Calarco 0.9.1-4mamba - rebuilt with gcc 5.2.0