|
|
|
@ -34,7 +34,7 @@
|
|
|
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
|
|
|
|
|
|
Name: lxc
|
|
|
|
|
Version: 2.0.1
|
|
|
|
|
Version: 2.0.3
|
|
|
|
|
Release: %{?prerel:0.}1%{?prerel:.%{prerel}}%{?dist}
|
|
|
|
|
Summary: Linux Resource Containers
|
|
|
|
|
Group: Applications/System
|
|
|
|
@ -47,19 +47,18 @@ Source0: http://linuxcontainers.org/downloads/%{name}-%{version}.tar.gz
|
|
|
|
|
%endif
|
|
|
|
|
Patch0: lxc-2.0.1-fix-init.patch
|
|
|
|
|
Patch2: lxc-2.0.0-remove-werror.patch
|
|
|
|
|
BuildRequires: docbook-utils
|
|
|
|
|
BuildRequires: docbook2X
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: kernel-headers
|
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
|
%if 0%{?with_seccomp}
|
|
|
|
|
BuildRequires: libseccomp-devel
|
|
|
|
|
BuildRequires: pkgconfig(libseccomp)
|
|
|
|
|
%endif # with_seccomp
|
|
|
|
|
BuildRequires: libcap-devel
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: lua-devel
|
|
|
|
|
BuildRequires: pkgconfig(lua)
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
BuildRequires: python3-devel >= 3.2
|
|
|
|
|
BuildRequires: pkgconfig(python3) >= 3.2
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
%if 0%{?with_systemd}
|
|
|
|
|
BuildRequires: systemd
|
|
|
|
@ -211,12 +210,11 @@ This package contains documentation for %{name}.
|
|
|
|
|
--with-init-script=sysvinit \
|
|
|
|
|
%endif # with_systemd
|
|
|
|
|
# intentionally blank line
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%{make_install}
|
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
|
mkdir -p %{buildroot}%{_sharedstatedir}/%{name}
|
|
|
|
|
chmod -x %{buildroot}%{luapkgdir}/lxc.lua
|
|
|
|
|
|
|
|
|
@ -379,6 +377,10 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jun 29 2016 Thomas Moschny <thomas.moschny@gmx.de> - 2.0.3-1
|
|
|
|
|
- Update to 2.0.3.
|
|
|
|
|
- Merge spec file cleanups by Thierry Vignaud (tvignaud@redhat.com).
|
|
|
|
|
|
|
|
|
|
* Fri Jun 3 2016 Thomas Moschny <thomas.moschny@gmx.de> - 2.0.1-1
|
|
|
|
|
- Update to 2.0.1.
|
|
|
|
|
- Remove patch no longer needed.
|
|
|
|
|