|
@@ -1,15 +1,16 @@
|
|
|
%define gitdate 20120105
|
|
|
Name: lxc
|
|
|
-Version: 0.7.5
|
|
|
-Release: 1.%{gitdate}%{?_dist_release}
|
|
|
+Version: 0.8.0
|
|
|
+Release: 0.rc1%{?_dist_release}
|
|
|
Summary: Linux Resource Containers
|
|
|
Summary(ja): Linux リソースコンテナ
|
|
|
|
|
|
Group: Applications/System
|
|
|
License: LGPLv2+
|
|
|
URL: http://lxc.sourceforge.net
|
|
|
-Source0: http://lxc.sourceforge.net/download/lxc/%{name}-%{version}.tar.gz
|
|
|
-Patch0: lxc-0.7.5-git%{gitdate}.patch
|
|
|
+Source0: http://lxc.sourceforge.net/download/lxc/%{name}-%{version}-rc1.tar.gz
|
|
|
+Patch1: lxc-0.8.0-rc1-fix-broken-ns-cgroup.patch
|
|
|
+
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
BuildRequires: automake
|
|
@@ -75,8 +76,8 @@ Requires: %{name} = %{version}-%{release}
|
|
|
This package contains documentation for %{name}.
|
|
|
|
|
|
%prep
|
|
|
-%setup -q
|
|
|
-%patch0 -p1
|
|
|
+%setup -q -n %{name}-%{version}-rc1
|
|
|
+%patch1 -p1
|
|
|
|
|
|
%build
|
|
|
./autogen.sh
|
|
@@ -116,8 +117,8 @@ find %{buildroot} -name '*.la' -delete
|
|
|
%dir %{_libdir}/lxc
|
|
|
%dir %{_libdir}/lxc/templates
|
|
|
%{_libdir}/liblxc.so.*
|
|
|
-%{_libdir}/lxc/lxc-init
|
|
|
%{_libdir}/lxc/rootfs
|
|
|
+%{_libexecdir}/lxc/lxc-init
|
|
|
|
|
|
%files templates
|
|
|
%defattr(-,root,root,-)
|
|
@@ -134,6 +135,9 @@ find %{buildroot} -name '*.la' -delete
|
|
|
%{_docdir}/%{name}
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Apr 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.0-0.rc1
|
|
|
+- new upstream release
|
|
|
+
|
|
|
* Thu Jan 26 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.5-1.20120105
|
|
|
- update to git current (20120105)
|
|
|
|