X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lxc-userspace.spec;h=b0e4da1f3bdf3105533f79ea342f692086c35d06;hb=f50f77843464755e1cc873da834379501c1212bd;hp=8c279b875431e61fb3643d59197ba3b655d11cd8;hpb=88c1c6d7443684e63ee2d501b2aac29269862339;p=lxc-userspace.git diff --git a/lxc-userspace.spec b/lxc-userspace.spec index 8c279b8..b0e4da1 100644 --- a/lxc-userspace.spec +++ b/lxc-userspace.spec @@ -1,6 +1,6 @@ %define name lxc-userspace -%define version 1.0 -%define taglevel 11 +%define version 2.0 +%define taglevel 0 %define percent % %define braop \{ @@ -23,17 +23,19 @@ Group: System Environment/Kernel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Source0: lxc-userspace-%{version}.tar.gz Requires: binutils +# lxcsu uses pgrep to compute the container's init_pid +Requires: procps-ng Obsoletes: lxctools %description Userspace tools for switching between lxc containers. -%prep +%prep %setup -q %build -make +make %install mkdir -p $RPM_BUILD_ROOT/usr/sbin @@ -41,7 +43,7 @@ install -D -m 755 vsh $RPM_BUILD_ROOT/usr/sbin/vsh install -D -m 755 lxcsu $RPM_BUILD_ROOT/usr/sbin/lxcsu install -D -m 755 lxcsu-internal $RPM_BUILD_ROOT/usr/sbin/lxcsu-internal chmod u+s $RPM_BUILD_ROOT/usr/sbin/lxcsu -cp build/lib*/setns.so $RPM_BUILD_ROOT/usr/sbin +cp build/lib*/setns*.so $RPM_BUILD_ROOT/usr/sbin %clean rm -rf $RPM_BUILD_ROOT @@ -55,6 +57,12 @@ chmod u+s /usr/sbin/vsh %postun %changelog +* Mon Jan 07 2019 Thierry - lxc-userspace-2.0-0 +- ported to python3, including the setns C extension + +* Wed Jul 16 2014 Thierry Parmentelat - lxc-userspace-1.0-12 +- fix lxcsu to spot the right architecture for the container - was always using the host's arch + * Mon Apr 28 2014 Thierry Parmentelat - lxc-userspace-1.0-11 - reworked kvmsu @@ -124,4 +132,3 @@ chmod u+s /usr/sbin/vsh * Fri Feb 22 2013 Thierry Parmentelat - lxctools-0.9-2 - various fixes -