|
@@ -7,22 +7,26 @@
|
|
%global lualibdir %{_libdir}/lua/%{luaver}
|
|
%global lualibdir %{_libdir}/lua/%{luaver}
|
|
%global luapkgdir %{_datadir}/lua/%{luaver}
|
|
%global luapkgdir %{_datadir}/lua/%{luaver}
|
|
|
|
|
|
|
|
+%define _unpackaged_files_terminate_build 1
|
|
|
|
+
|
|
Name: lxc
|
|
Name: lxc
|
|
-Version: 1.1.5
|
|
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
+Version: 2.0.1
|
|
|
|
+Release: 1%{?_dist_release}
|
|
Summary: Linux Resource Containers
|
|
Summary: Linux Resource Containers
|
|
Summary(ja): Linux リソースコンテナ
|
|
Summary(ja): Linux リソースコンテナ
|
|
Group: Applications/System
|
|
Group: Applications/System
|
|
License: LGPLv2+ and GPLv2
|
|
License: LGPLv2+ and GPLv2
|
|
URL: http://linuxcontainers.org
|
|
URL: http://linuxcontainers.org
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
|
|
Source0: http://linuxcontainers.org/downloads/%{name}-%{version}.tar.gz
|
|
Source0: http://linuxcontainers.org/downloads/%{name}-%{version}.tar.gz
|
|
Source10: lxc-vinelinux
|
|
Source10: lxc-vinelinux
|
|
Source11: vinelinux.common.conf
|
|
Source11: vinelinux.common.conf
|
|
Source12: vinelinux.userns.conf
|
|
Source12: vinelinux.userns.conf
|
|
|
|
|
|
-Patch0: lxc-1.1.0-fix-init.patch
|
|
|
|
-Patch1: lxc-1.1.5-disable-setproctitle-error.patch
|
|
|
|
|
|
+Patch0: lxc-2.0.1-fix-init.patch
|
|
|
|
+Patch1: lxc-2.0.0-remove-werror.patch
|
|
|
|
|
|
BuildRequires: docbook-utils
|
|
BuildRequires: docbook-utils
|
|
Buildrequires: docbook2X
|
|
Buildrequires: docbook2X
|
|
@@ -168,6 +172,7 @@ This package contains documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
+./autogen.sh
|
|
%configure --with-distro=centos \
|
|
%configure --with-distro=centos \
|
|
--enable-doc \
|
|
--enable-doc \
|
|
--enable-api-docs \
|
|
--enable-api-docs \
|
|
@@ -177,8 +182,8 @@ This package contains documentation for %{name}.
|
|
--disable-apparmor \
|
|
--disable-apparmor \
|
|
--disable-cgmanager \
|
|
--disable-cgmanager \
|
|
--disable-selinux \
|
|
--disable-selinux \
|
|
- --enable-capabilities \
|
|
|
|
- --enable-examples \
|
|
|
|
|
|
+ --enable-capabilities \
|
|
|
|
+ --enable-examples \
|
|
--enable-bash \
|
|
--enable-bash \
|
|
--enable-lua \
|
|
--enable-lua \
|
|
%if 0%{?with_python3}
|
|
%if 0%{?with_python3}
|
|
@@ -264,13 +269,10 @@ fi
|
|
%if 0%{?with_python3}
|
|
%if 0%{?with_python3}
|
|
%exclude %{_bindir}/%{name}-device
|
|
%exclude %{_bindir}/%{name}-device
|
|
%exclude %{_bindir}/%{name}-ls
|
|
%exclude %{_bindir}/%{name}-ls
|
|
-%exclude %{_bindir}/%{name}-start-ephemeral
|
|
|
|
%exclude %{_mandir}/man1/%{name}-device*
|
|
%exclude %{_mandir}/man1/%{name}-device*
|
|
%exclude %{_mandir}/man1/%{name}-ls*
|
|
%exclude %{_mandir}/man1/%{name}-ls*
|
|
-%exclude %{_mandir}/man1/%{name}-start-ephemeral*
|
|
|
|
%exclude %{_mandir}/*/man1/%{name}-device*
|
|
%exclude %{_mandir}/*/man1/%{name}-device*
|
|
%exclude %{_mandir}/*/man1/%{name}-ls*
|
|
%exclude %{_mandir}/*/man1/%{name}-ls*
|
|
-%exclude %{_mandir}/*/man1/%{name}-start-ephemeral*
|
|
|
|
%endif
|
|
%endif
|
|
%dir %{_sysconfdir}/bash_completion.d/
|
|
%dir %{_sysconfdir}/bash_completion.d/
|
|
%{_sysconfdir}/bash_completion.d/%{name}
|
|
%{_sysconfdir}/bash_completion.d/%{name}
|
|
@@ -321,13 +323,10 @@ fi
|
|
%files extra
|
|
%files extra
|
|
%{_bindir}/%{name}-device
|
|
%{_bindir}/%{name}-device
|
|
%{_bindir}/%{name}-ls
|
|
%{_bindir}/%{name}-ls
|
|
-%{_bindir}/%{name}-start-ephemeral
|
|
|
|
%{_mandir}/man1/%{name}-device*
|
|
%{_mandir}/man1/%{name}-device*
|
|
%{_mandir}/man1/%{name}-ls*
|
|
%{_mandir}/man1/%{name}-ls*
|
|
-%{_mandir}/man1/%{name}-start-ephemeral*
|
|
|
|
%{_mandir}/*/man1/%{name}-device*
|
|
%{_mandir}/*/man1/%{name}-device*
|
|
%{_mandir}/*/man1/%{name}-ls*
|
|
%{_mandir}/*/man1/%{name}-ls*
|
|
-%{_mandir}/*/man1/%{name}-start-ephemeral*
|
|
|
|
%endif # with_python3
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
@@ -355,6 +354,10 @@ fi
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Jun 23 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.1-1
|
|
|
|
+- updated to 2.0.1.
|
|
|
|
+- replaced all patches.
|
|
|
|
+
|
|
* Tue Nov 17 2015 Daisuke SUZUKI <daisuke@vinelinux.org> 1.1.5-2
|
|
* Tue Nov 17 2015 Daisuke SUZUKI <daisuke@vinelinux.org> 1.1.5-2
|
|
- enable python3 support by default
|
|
- enable python3 support by default
|
|
|
|
|