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