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:
@@ -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>
|
Thu Feb 18 15:51:00 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package lua-ldbus
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Source: lua-ldbus-%{version}.tar.xz
|
||||||
Patch0: lua54.patch
|
Patch0: lua54.patch
|
||||||
BuildRequires: %{flavor}-devel
|
BuildRequires: %{flavor}-devel
|
||||||
|
BuildRequires: lua-macros
|
||||||
Requires: %{flavor}
|
Requires: %{flavor}
|
||||||
%if 0%{?suse_version} < 1330
|
%if 0%{?suse_version} < 1330
|
||||||
BuildRequires: dbus-1-devel
|
BuildRequires: dbus-1-devel
|
||||||
@@ -46,6 +47,7 @@ ldbus is a C binding to dbus for Lua.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n lua-ldbus-%{version} -p1
|
%autosetup -n lua-ldbus-%{version} -p1
|
||||||
|
|
||||||
%if "%{flavor}" != "lua53"
|
%if "%{flavor}" != "lua53"
|
||||||
sed -i -e "s/lua5.3/lua%{lua_version}/" src/Makefile
|
sed -i -e "s/lua5.3/lua%{lua_version}/" src/Makefile
|
||||||
%endif
|
%endif
|
||||||
@@ -58,7 +60,7 @@ export CFLAGS="$CFLAGS -Ivendor/compat-5.3"
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
cd src
|
cd src
|
||||||
%make_build
|
make %{?_make_output_sync} %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd src
|
cd src
|
||||||
|
Reference in New Issue
Block a user