Update to 2.0.9.

epel9
Thomas Moschny 7 years ago
parent f471cfcb22
commit 3a3ea957ff

@ -1,18 +1,18 @@
diff -up lxc-2.0.8/src/lxc/caps.h.orig lxc-2.0.8/src/lxc/caps.h diff -up lxc-2.0.9/src/lxc/caps.h~ lxc-2.0.9/src/lxc/caps.h
--- lxc-2.0.8/src/lxc/caps.h.orig 2017-05-11 17:23:06.000000000 +0000 --- lxc-2.0.9/src/lxc/caps.h~ 2017-10-19 19:13:25.000000000 +0200
+++ lxc-2.0.8/src/lxc/caps.h 2017-06-10 07:04:48.702079368 +0000 +++ lxc-2.0.9/src/lxc/caps.h 2017-10-20 19:31:11.958292398 +0200
@@ -28,6 +28,7 @@ @@ -29,6 +29,7 @@
#define __LXC_CAPS_H
#if HAVE_LIBCAP #if HAVE_LIBCAP
+#include <linux/types.h> +#include <linux/types.h>
#include <sys/capability.h> #include <sys/capability.h>
extern int lxc_caps_down(void); extern int lxc_caps_down(void);
diff -up lxc-2.0.8/src/lxc/conf.c.orig lxc-2.0.8/src/lxc/conf.c diff -up lxc-2.0.9/src/lxc/conf.c~ lxc-2.0.9/src/lxc/conf.c
--- lxc-2.0.8/src/lxc/conf.c.orig 2017-05-11 17:23:06.000000000 +0000 --- lxc-2.0.9/src/lxc/conf.c~ 2017-10-19 19:13:25.000000000 +0200
+++ lxc-2.0.8/src/lxc/conf.c 2017-06-10 07:08:18.448806856 +0000 +++ lxc-2.0.9/src/lxc/conf.c 2017-10-20 19:31:54.505837167 +0200
@@ -90,6 +90,7 @@ @@ -91,6 +91,7 @@
#include "lsm/lsm.h" #include "lsm/lsm.h"
#if HAVE_LIBCAP #if HAVE_LIBCAP
@ -20,10 +20,10 @@ diff -up lxc-2.0.8/src/lxc/conf.c.orig lxc-2.0.8/src/lxc/conf.c
#include <sys/capability.h> #include <sys/capability.h>
#endif #endif
diff -up lxc-2.0.8/src/lxc/start.c.orig lxc-2.0.8/src/lxc/start.c diff -up lxc-2.0.9/src/lxc/start.c~ lxc-2.0.9/src/lxc/start.c
--- lxc-2.0.8/src/lxc/start.c.orig 2017-05-11 17:23:06.000000000 +0000 --- lxc-2.0.9/src/lxc/start.c~ 2017-10-19 19:13:25.000000000 +0200
+++ lxc-2.0.8/src/lxc/start.c 2017-06-10 07:05:33.166293224 +0000 +++ lxc-2.0.9/src/lxc/start.c 2017-10-20 19:32:21.793545209 +0200
@@ -47,6 +47,7 @@ @@ -49,6 +49,7 @@
#include <sys/wait.h> #include <sys/wait.h>
#if HAVE_LIBCAP #if HAVE_LIBCAP

@ -30,8 +30,8 @@
%global shortcommit %(c=%{commit}; echo ${c:0:7}) %global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: lxc Name: lxc
Version: 2.0.8 Version: 2.0.9
Release: %{?prerel:0.}2%{?prerel:.%{prerel}}%{?dist}.2 Release: %{?prerel:0.}1%{?prerel:.%{prerel}}%{?dist}
Summary: Linux Resource Containers Summary: Linux Resource Containers
Group: Applications/System Group: Applications/System
License: LGPLv2+ and GPLv2 License: LGPLv2+ and GPLv2
@ -179,7 +179,7 @@ This package contains documentation for %{name}.
%setup -q -n %{name}-%{?!prerel:%{version}}%{?prerel:%{commit}} %setup -q -n %{name}-%{?!prerel:%{version}}%{?prerel:%{commit}}
%patch0 -p1 %patch0 -p1
%patch1 -p1 %patch1 -p1
%if 0%{?rhel} <= 6 %if 0%{?rhel} && 0%{?rhel} <= 6
# fix build failure with broken sys/capabilities.h (see # fix build failure with broken sys/capabilities.h (see
# e.g. rhbz#483548) # e.g. rhbz#483548)
%patch2 -p1 %patch2 -p1
@ -385,6 +385,9 @@ fi
%changelog %changelog
* Fri Oct 20 2017 Thomas Moschny <thomas.moschny@gmx.de> - 2.0.9-1
- Update to 2.0.9.
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.8-2.2 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.8-2.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

@ -1 +1 @@
SHA512 (lxc-2.0.8.tar.gz) = ed9fd47e92007f433695cffea659180866a5ac2778712f4eb13b6629bb18292589f5b674b734853ca196ba1f6d38bdbf3cc8a2bb28e25d3540b06b945fcf9096 SHA512 (lxc-2.0.9.tar.gz) = c7c595fbc6163e500700b756ae30c96b70d41b9bf297a609622b5d5b8431171ed8db70fa8368c3b9650c86452820e9da7f329f9186ae75c24a7adb15d5826102

Loading…
Cancel
Save