forked from pool/lua-mpack
Accepting request 1060917 from home:michals:branches:devel:languages:lua
- Fix missing dependency on lua-macros (boo#1205612) - Opencode %make_build to prevent build failure when not defined. OBS-URL: https://build.opensuse.org/request/show/1060917 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-mpack?expand=0&rev=14
This commit is contained in:
parent
ac74ccc367
commit
966dd15c6b
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 11:52:07 UTC 2023 - Michal Suchanek <msuchanek@suse.de>
|
||||||
|
|
||||||
|
- Fix missing dependency on lua-macros (boo#1205612)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 10:52:05 UTC 2023 - Michal Suchanek <msuchanek@suse.de>
|
||||||
|
|
||||||
|
- Opencode %make_build to prevent build failure when not defined.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 18 16:01:56 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
Thu Feb 18 16:01:56 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@ Source1: https://github.com/libmpack/libmpack/archive/%{libmpack_version}
|
|||||||
Patch0: lua51-mpack-fix-gcc7.patch
|
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`.
|
# 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
|
Patch1: lua51-mpack-fix-compilation.patch
|
||||||
|
BuildRequires: lua-macros
|
||||||
BuildRequires: %{flavor}-devel
|
BuildRequires: %{flavor}-devel
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
@ -66,7 +67,7 @@ popd
|
|||||||
sed -i 's|LUA_CMOD_INSTALLDIR :=.*|LUA_CMOD_INSTALLDIR := $(shell echo "%{lua_archdir}")|g' Makefile
|
sed -i 's|LUA_CMOD_INSTALLDIR :=.*|LUA_CMOD_INSTALLDIR := $(shell echo "%{lua_archdir}")|g' Makefile
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make_build \
|
make %{?_make_output_sync} %{?_smp_mflags} \
|
||||||
USE_SYSTEM_LUA=yes \
|
USE_SYSTEM_LUA=yes \
|
||||||
MPACK_LUA_VERSION=%{lua_version} \
|
MPACK_LUA_VERSION=%{lua_version} \
|
||||||
CFLAGS="%{optflags} -fPIC"
|
CFLAGS="%{optflags} -fPIC"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user