diff --git a/lua-mpack.changes b/lua-mpack.changes index 60f4cfa..6d12600 100644 --- a/lua-mpack.changes +++ b/lua-mpack.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Jan 25 11:52:07 UTC 2023 - Michal Suchanek + +- Fix missing dependency on lua-macros (boo#1205612) + +------------------------------------------------------------------- +Wed Jan 25 10:52:05 UTC 2023 - Michal Suchanek + +- Opencode %make_build to prevent build failure when not defined. + ------------------------------------------------------------------- Thu Feb 18 16:01:56 UTC 2021 - Callum Farmer diff --git a/lua-mpack.spec b/lua-mpack.spec index aa0ae65..42c63c9 100644 --- a/lua-mpack.spec +++ b/lua-mpack.spec @@ -34,6 +34,7 @@ Source1: https://github.com/libmpack/libmpack/archive/%{libmpack_version} Patch0: lua51-mpack-fix-gcc7.patch # PATCH-FIX-UPSTREAM lua51-mpack-fix-compilation.patch gh#libmpack/libmpack-lua#2 -- Fix compilation error when using `USE_SYSTEM_LUA=1`. Patch1: lua51-mpack-fix-compilation.patch +BuildRequires: lua-macros BuildRequires: %{flavor}-devel BuildRequires: gcc BuildRequires: libtool @@ -66,7 +67,7 @@ popd sed -i 's|LUA_CMOD_INSTALLDIR :=.*|LUA_CMOD_INSTALLDIR := $(shell echo "%{lua_archdir}")|g' Makefile %build -%make_build \ +make %{?_make_output_sync} %{?_smp_mflags} \ USE_SYSTEM_LUA=yes \ MPACK_LUA_VERSION=%{lua_version} \ CFLAGS="%{optflags} -fPIC"