Browse Source

lxc-2.0.8-2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11166 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 6 years ago
parent
commit
ef2aba9539
1 changed files with 18 additions and 6 deletions
  1. 18 6
      l/lxc/lxc-vl.spec

+ 18 - 6
l/lxc/lxc-vl.spec

@@ -10,8 +10,8 @@
 %define _unpackaged_files_terminate_build 1
 
 Name:           lxc
-Version:        2.0.1
-Release:        3%{?_dist_release}
+Version:        2.0.8
+Release:        2%{?_dist_release}
 Summary:        Linux Resource Containers
 Summary(ja):    Linux リソースコンテナ
 Group:          Applications/System
@@ -25,13 +25,14 @@ Source10:	lxc-vinelinux
 Source11:	vinelinux.common.conf
 Source12:	vinelinux.userns.conf
 
-Patch0:         lxc-2.0.1-fix-init.patch
-Patch1:         lxc-2.0.0-remove-werror.patch
+Patch0:         lxc-2.0.8-fix-init.patch
+#Patch1:         lxc-2.0.0-remove-werror.patch
 
 Patch100:       lxc-net-dnsmasq.patch
 
 BuildRequires:  docbook-utils
 Buildrequires:  docbook2X
+Buildrequires:  cgmanager-devel
 Buildrequires:  doxygen
 BuildRequires:  glibc-static
 BuildRequires:  kernel-headers
@@ -171,7 +172,7 @@ This package contains documentation for %{name}.
 %prep
 %setup -q -n %{name}-%{version}
 %patch0 -p1
-%patch1 -p1
+#%patch1 -p1
 %patch100 -p1
 
 
@@ -182,10 +183,11 @@ This package contains documentation for %{name}.
            --enable-api-docs \
            --disable-silent-rules \
            --docdir=%{_pkgdocdir} \
+           --disable-werror \
            --disable-rpath \
            --disable-apparmor \
-           --disable-cgmanager \
            --disable-selinux \
+           --enable-cgmanager \
            --enable-capabilities \
            --enable-examples \
            --enable-bash \
@@ -223,6 +225,8 @@ install -m775 %{SOURCE10} %{buildroot}%{_datadir}/lxc/templates/
 install -m775 %{SOURCE11} %{buildroot}%{_datadir}/lxc/config/
 install -m775 %{SOURCE12} %{buildroot}%{_datadir}/lxc/config/
 
+rm -f %{buildroot}%{_libdir}/liblxc.la
+
 
 %check
 make check
@@ -358,6 +362,14 @@ fi
 
 
 %changelog
+* Wed Aug 30 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.8-2
+- enabled cgmanager.
+
+* Tue Aug 29 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.8-1
+- updated to 2.0.8.
+- updated Patch0.
+- dropped Patch1: added an option to get same effect.
+
 * Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.1-3
 - made lxc-net to be able to disable dnsmasq.
 - dropped compat32-lxc-init-static.