The package rpms/lua-mpack.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/lua-mpack.git/commit/?id=8da107996d5....
Change: +%ifarch x86_64 ppc64lc aarch64 s390x
Thanks.
Full change: ============
commit 8da107996d5321d9a978103a3919385798532100 Author: Andreas Schneider asn@cryptomilk.org Date: Mon Mar 11 15:29:56 2019 +0100
Fix build issue with assert()
diff --git a/lua-mpack-1.0.7-fix_assert.patch b/lua-mpack-1.0.7-fix_assert.patch new file mode 100644 index 0000000..ef54e7d --- /dev/null +++ b/lua-mpack-1.0.7-fix_assert.patch @@ -0,0 +1,19 @@ +Index: libmpack-lua-1.0.7/lmpack.c +=================================================================== +--- libmpack-lua-1.0.7.orig/lmpack.c ++++ libmpack-lua-1.0.7/lmpack.c +@@ -200,9 +200,12 @@ static void lmpack_pushnil(lua_State *L) + static mpack_uint32_t lmpack_objlen(lua_State *L, int *is_array) + { + size_t len, max; +- int isarr, type, top; ++ int isarr, type; + lua_Number n; +- assert(top = lua_gettop(L)); ++#ifndef NDEBUG ++ int top = lua_gettop(L); ++ assert(top); ++#endif + + if ((type = lua_type(L, -1)) != LUA_TTABLE) { + #if LUA_VERSION_NUM >= 502 diff --git a/lua-mpack.spec b/lua-mpack.spec index 3024f3e..93719f8 100644 --- a/lua-mpack.spec +++ b/lua-mpack.spec @@ -15,7 +15,7 @@ BuildRequires: lua-devel >= %{lua_version}
Name: lua-mpack Version: 1.0.7 -Release: 5%{?dist} +Release: 6%{?dist}
License: MIT Summary: Implementation of MessagePack for Lua @@ -91,8 +91,12 @@ make \ install popd
+# This segfaults on i686 platforms +# https://github.com/libmpack/libmpack-lua/issues/14 +%ifarch x86_64 ppc64lc aarch64 s390x %check lua %{SOURCE2} +%endif
%files %doc README.md @@ -102,6 +106,9 @@ lua %{SOURCE2} %{lua_compat_libdir}/mpack.so
%changelog +* Mon Mar 11 2019 Andreas Schneider asn@redhat.com - 1.0.7-6 +- Fix build issue with assert() + * Tue Mar 05 2019 Aron Griffis aron@scampersand.com - 1.0.7-5 - Add compat 5.1 build for neovim
arch-excludes@lists.fedoraproject.org