diff --git a/lua-ldbus.changes b/lua-ldbus.changes index d46b8d5..19d6288 100644 --- a/lua-ldbus.changes +++ b/lua-ldbus.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Jan 25 12:37:35 UTC 2023 - Michal Suchanek + +- Blank line required after %%autosetup on SLE12 + +------------------------------------------------------------------- +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 15:51:00 UTC 2021 - Callum Farmer diff --git a/lua-ldbus.spec b/lua-ldbus.spec index b4a2327..c979831 100644 --- a/lua-ldbus.spec +++ b/lua-ldbus.spec @@ -1,7 +1,7 @@ # # spec file for package lua-ldbus # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,7 @@ URL: https://github.com/daurnimator/ldbus/ Source: lua-ldbus-%{version}.tar.xz Patch0: lua54.patch BuildRequires: %{flavor}-devel +BuildRequires: lua-macros Requires: %{flavor} %if 0%{?suse_version} < 1330 BuildRequires: dbus-1-devel @@ -46,6 +47,7 @@ ldbus is a C binding to dbus for Lua. %prep %autosetup -n lua-ldbus-%{version} -p1 + %if "%{flavor}" != "lua53" sed -i -e "s/lua5.3/lua%{lua_version}/" src/Makefile %endif @@ -58,7 +60,7 @@ export CFLAGS="$CFLAGS -Ivendor/compat-5.3" %endif %endif cd src -%make_build +make %{?_make_output_sync} %{?_smp_mflags} %install cd src