%if 0%{?fedora} %global luaver 5.3 %else %global luaver 5.1 %endif %global lualibdir %{_libdir}/lua/%{luaver} %global luapkgdir %{_datadir}/lua/%{luaver} Name: lua-lxc Version: 3.0.0 Release: 2%{?dist} Summary: Lua binding for LXC License: LGPLv2+ URL: https://linuxcontainers.org/lxc Source0: https://linuxcontainers.org/downloads/lxc/%{name}-%{version}.tar.gz BuildRequires: pkgconfig BuildRequires: pkgconfig(lua) BuildRequires: lxc-devel >= 3.0.0 BuildRequires: make BuildRequires: gcc %description Linux Resource Containers provide process and resource isolation without the overhead of full virtualization. The lua-lxc package contains the Lua binding for LXC. %global __provides_exclude %{?__provides_exclude:%__provides_exclude|}core\\.so\\.0 %prep %autosetup %build %configure --disable-static %make_build %install %make_install %files %license COPYING %doc AUTHORS ChangeLog MAINTAINERS NEWS README %{lualibdir}/lxc %{luapkgdir}/lxc.lua %changelog * Fri Apr 6 2018 Thomas Moschny - 3.0.0-2 - Update description. * Fri Apr 6 2018 Thomas Moschny - 3.0.0-1 - New package.