Update to 2.0.3.

- Merge some spec file cleanups by Thierry Vignaud (tvignaud@redhat.com).
This commit is contained in:
Thomas Moschny 2016-06-29 20:35:14 +02:00
parent 8c91a3ec1f
commit b85c8a4c85
2 changed files with 10 additions and 8 deletions

View File

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

View File

@ -1 +1 @@
2b89f83185a82286518098ad5f42ac02 lxc-2.0.1.tar.gz
4a5654005924ec6f52eb9719520547d4 lxc-2.0.3.tar.gz