forked from pool/lua-ldbus
spec-clean SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-ldbus?expand=0&rev=6
This commit is contained in:
@@ -24,15 +24,15 @@ Release: 0
|
||||
Summary: Lua bindings to dbus
|
||||
License: MIT
|
||||
Group: Development/Libraries/Other
|
||||
Url: https://github.com/daurnimator/ldbus/
|
||||
URL: https://github.com/daurnimator/ldbus/
|
||||
Source: lua-ldbus-%{version}.tar.xz
|
||||
BuildRequires: %{flavor}-devel
|
||||
Requires: %{flavor}
|
||||
%if 0%{?suse_version} < 1330
|
||||
BuildRequires: dbus-1-devel
|
||||
%else
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
%endif
|
||||
Requires: %{flavor}
|
||||
%if "%{flavor}" == "lua53"
|
||||
Provides: lua-%{mod_name} = %{version}
|
||||
Obsoletes: lua-%{mod_name} < %{version}
|
||||
@@ -61,14 +61,14 @@ export CFLAGS="$CFLAGS -Ivendor/compat-5.3"
|
||||
%endif
|
||||
%endif
|
||||
cd src
|
||||
make
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
cd src
|
||||
%make_install LUA_LIBDIR='$(DESTDIR)%{lua_archdir}'
|
||||
|
||||
%files
|
||||
%doc LICENSE
|
||||
%license LICENSE
|
||||
%{lua_archdir}/ldbus.so
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user