diff --git a/.gitignore b/.gitignore index 4594d88..152010a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /libmpack-1.0.3.tar.gz +/libmpack-1.0.4.tar.gz diff --git a/libmpack-1.0.3-fix_macro_redefine.patch b/libmpack-1.0.3-fix_macro_redefine.patch deleted file mode 100644 index 02a6154..0000000 --- a/libmpack-1.0.3-fix_macro_redefine.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: libmpack-1.0.3/binding/lua/lmpack.c -=================================================================== ---- libmpack-1.0.3.orig/binding/lua/lmpack.c -+++ libmpack-1.0.3/binding/lua/lmpack.c -@@ -31,8 +31,10 @@ - - #if LUA_VERSION_NUM > 501 - typedef luaL_Reg luaL_reg; --#define luaL_register(L, name, lreg) (luaL_setfuncs((L), (lreg), 0)) --#define lua_objlen(L, idx) (lua_rawlen(L, (idx))) -+# if !defined(LUA_COMPAT_5_1) -+# define luaL_register(L, name, lreg) (luaL_setfuncs((L), (lreg), 0)) -+# define lua_objlen(L, idx) (lua_rawlen(L, (idx))) -+# endif - #endif - - typedef struct { diff --git a/lua-mpack.spec b/lua-mpack.spec index 0c65523..edd03da 100644 --- a/lua-mpack.spec +++ b/lua-mpack.spec @@ -8,8 +8,8 @@ BuildRequires: lua >= 5.3 BuildRequires: lua-devel >= 5.3 Name: lua-mpack -Version: 1.0.3 -Release: 5%{?dist} +Version: 1.0.4 +Release: 1%{?dist} License: MIT Summary: Implementation of MessagePack for Lua @@ -18,7 +18,6 @@ Url: https://github.com/tarruda/libmpack/ Requires: lua(abi) = %{lua_version} Source0: https://github.com/tarruda/libmpack/archive/%{version}/libmpack-%{version}.tar.gz -Patch0: libmpack-1.0.3-fix_macro_redefine.patch %description mpack is a small binary serialization/RPC library that implements @@ -27,8 +26,6 @@ both the msgpack and msgpack-rpc specifications. %prep %setup -q -n libmpack-%{version} -%patch0 -p1 -b .libmpack-1.0.3-fix_macro_redefine.patch - # hack to export flags pushd binding/lua echo '#!/bin/sh' > ./configure @@ -59,6 +56,9 @@ popd %{lua_libdir}/mpack.so %changelog +* Wed Feb 01 2017 Andreas Schneider - 1.0.4-1 +- Update to version 1.0.4 + * Fri Nov 25 2016 Andreas Schneider - 1.0.3-5 - Add requirement on ABI version and do not package lua directory diff --git a/sources b/sources index 08c8c62..c7652c4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7d855d6f989686fae713c10f202f5a1b libmpack-1.0.3.tar.gz +SHA512 (libmpack-1.0.4.tar.gz) = 8e40a562faf8b62137dec0733cbb9006fa7054e5a47bdd128fb4dfd676fac4e4385a23c3d908a4ce2edd65d673db25916695fa74bc08c5316b0c80e571a7442c