SHA256
10
0
forked from pool/lua-ldbus

Accepting request 1060955 from devel:languages:lua

OBS-URL: https://build.opensuse.org/request/show/1060955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-ldbus?expand=0&rev=7
This commit is contained in:
2023-01-25 16:44:49 +00:00
committed by Git OBS Bridge
2 changed files with 19 additions and 2 deletions

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Wed Jan 25 12:37:35 UTC 2023 - Michal Suchanek <msuchanek@suse.de>
- Blank line required after %%autosetup on SLE12
-------------------------------------------------------------------
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 15:51:00 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>

View File

@@ -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