Accepting request 491189 from home:tiwai:branches:devel:tools
- update to criu 3.0: New features: * Compel library * Support for x86 32-bit arch * Version check via RPC * ASAN support * Force VDSO trampolines via fault injection * C/R of shutdown-ed UDP sockets * C/R of bind-mounts made from external mounts Optimizations/improvements: * SysVIPC shmem segments are now dumped as any other shmem (taking holes into account and sitting in common memory dumps) * CRIT show decodes socket's states and types and task's states into strings * CRIT show prints unix sockets names in more human-readable form Bugfixes: * Unix sockets' names appeared in logs with mistakes * Contents of SysVIPC shmem segments was dumped twice * Dumping of any memory segment more than 4Gigs failed * Migration of unaligned SysvSHM segment on Armv7 failed Deprecation/removal: * Exec action is removed, use compel instead - Create libcompel1 sub-package OBS-URL: https://build.opensuse.org/request/show/491189 OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=64
This commit is contained in:
committed by
Git OBS Bridge
parent
f5ba451f12
commit
c45fd92b4d
26
criu.spec
26
criu.spec
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: criu
|
||||
Version: 2.12.1
|
||||
Version: 3.0
|
||||
Release: 0
|
||||
Summary: Checkpoint/Restore In Userspace Tools
|
||||
License: GPL-2.0
|
||||
@@ -56,11 +56,20 @@ Group: System/Libraries
|
||||
This package contains the library for CRIU, Checkpoint/Restore In
|
||||
Userspace Tools.
|
||||
|
||||
%package -n libcompel1
|
||||
Summary: Compel library for CRIU
|
||||
License: LGPL-2.1
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libcompel1
|
||||
This package contains the compel library for CRIU to execute a parasite code.
|
||||
|
||||
%package devel
|
||||
Summary: Include Files and Libraries mandatory for Development
|
||||
License: LGPL-2.1+
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: glibc-devel
|
||||
Requires: libcompel1 = %{version}
|
||||
Requires: libcriu1 = %{version}
|
||||
|
||||
%description devel
|
||||
@@ -81,6 +90,10 @@ make V=1 %{?_smp_mflags} PREFIX=%{_prefix} \
|
||||
make V=1 %{?_smp_mflags} PREFIX=%{_prefix} \
|
||||
LIBDIR=%{_libdir} LIBEXECDIR=%{_libexecdir} \
|
||||
DESTDIR=%{buildroot} install
|
||||
# remove static libs
|
||||
rm -f %{buildroot}%{_libdir}/lib*.a
|
||||
# remove stable files
|
||||
rm -f %{buildroot}%{_includedir}/compel/plugins/std/asm/.gitignore
|
||||
# for compatiblity
|
||||
ln -s criu %{buildroot}%{_sbindir}/crtools
|
||||
ln -s criu.8 %{buildroot}%{_mandir}/man8/crtools.8
|
||||
@@ -89,6 +102,10 @@ ln -s criu.8 %{buildroot}%{_mandir}/man8/crtools.8
|
||||
|
||||
%postun -n libcriu1 -p /sbin/ldconfig
|
||||
|
||||
%post -n libcompel1 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libcompel1 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README.md COPYING
|
||||
@@ -96,6 +113,7 @@ ln -s criu.8 %{buildroot}%{_mandir}/man8/crtools.8
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man*/*
|
||||
%{_libexecdir}/criu
|
||||
%{_libexecdir}/compel
|
||||
/usr/lib/python*/site-packages/crit-*.egg-info
|
||||
/usr/lib/python*/site-packages/pycriu
|
||||
|
||||
@@ -103,10 +121,16 @@ ln -s criu.8 %{buildroot}%{_mandir}/man8/crtools.8
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libcriu.so.*
|
||||
|
||||
%files -n libcompel1
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libcompel.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/criu
|
||||
%{_includedir}/compel
|
||||
%{_libdir}/libcriu.so
|
||||
%{_libdir}/libcompel.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user