Accepting request 588180 from home:avindra

- update to criu 3.8:
  New features
  * C/R of
    - Multiple network namespaces
    - Overmounted tmpfs mounts
    - Unix sockets and epoll descriptors in SCM messages
  Improvements
  * Rework service descriptors not to cause fdtable enormous grows
  Bugfixes
  * FP state wasn't reported on Skylake due to a kernel bug
  * gcc 8 warning fixes
  * Resource leaked on error paths
  * Attributes of sit devices with value 0 were not saved into
    images (and were restored into default values)
  * Tasks with pgid of a zombie hung the resture
  * Ghost files on RO bind-mounts of an RW mount couldn't be
    restored
  * Random memory corruptions during lazy restore
- cleanup with spec-cleaner
- switch to https urls
- list binaries and man pages explicitly
- remove rest of static libs to fix rpm lint errors

OBS-URL: https://build.opensuse.org/request/show/588180
OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=80
This commit is contained in:
Takashi Iwai 2018-03-19 22:00:49 +00:00 committed by Git OBS Bridge
parent d93335c904
commit 313daa1267
4 changed files with 54 additions and 21 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d88143909dba02d8156f97a4152dc767d5f1a91b6751d4ce26434fbbeff93763
size 749499

3
criu-3.8.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:55bdd539e9ac89810fc3e8c236cc280f45e528d3fa9daabe256e285e965dbb3e
size 768812

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Tue Mar 13 16:21:20 UTC 2018 - avindra@opensuse.org
- update to criu 3.8:
New features
* C/R of
- Multiple network namespaces
- Overmounted tmpfs mounts
- Unix sockets and epoll descriptors in SCM messages
Improvements
* Rework service descriptors not to cause fdtable enormous grows
Bugfixes
* FP state wasn't reported on Skylake due to a kernel bug
* gcc 8 warning fixes
* Resource leaked on error paths
* Attributes of sit devices with value 0 were not saved into
images (and were restored into default values)
* Tasks with pgid of a zombie hung the resture
* Ghost files on RO bind-mounts of an RW mount couldn't be
restored
* Random memory corruptions during lazy restore
- cleanup with spec-cleaner
- switch to https urls
- list binaries and man pages explicitly
- remove rest of static libs to fix rpm lint errors
-------------------------------------------------------------------
Fri Dec 22 23:57:01 UTC 2017 - avindra@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package criu
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,13 +17,13 @@
Name: criu
Version: 3.7
Version: 3.8
Release: 0
Summary: Checkpoint/Restore In Userspace Tools
License: GPL-2.0
License: GPL-2.0-only
Group: System/Console
Url: http://criu.org/
Source0: http://download.openvz.org/criu/%{name}-%{version}.tar.bz2
Url: https://criu.org/
Source0: https://download.openvz.org/criu/%{name}-%{version}.tar.bz2
Patch1: criu-py-install-fix.diff
BuildRequires: asciidoc
BuildRequires: libcap-devel
@ -49,7 +49,7 @@ the point it was frozen at.
%package -n libcriu1
Summary: Library for CRIU
License: LGPL-2.1
License: LGPL-2.1-only
Group: System/Libraries
%description -n libcriu1
@ -58,7 +58,7 @@ Userspace Tools.
%package -n libcompel1
Summary: Compel library for CRIU
License: LGPL-2.1
License: LGPL-2.1-only
Group: System/Libraries
%description -n libcompel1
@ -66,7 +66,7 @@ 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+
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
Requires: glibc-devel
Requires: libcompel1 = %{version}
@ -84,15 +84,17 @@ echo "BINFMT_MISC_VIRTUALIZED" > .config
%build
export CFLAGS="%{optflags}"
make V=1 %{?_smp_mflags} PREFIX=%{_prefix} \
LIBDIR=%{_libdir} LIBEXECDIR=%{_libexecdir}
make V=1 %{?_smp_mflags}
%install
make V=1 %{?_smp_mflags} PREFIX=%{_prefix} \
LIBDIR=%{_libdir} LIBEXECDIR=%{_libexecdir} \
DESTDIR=%{buildroot} install
%make_install V=1 \
PREFIX=%{_prefix} \
LIBDIR=%{_libdir} \
LIBEXECDIR=%{_libexecdir}
# remove static libs
rm -f %{buildroot}%{_libdir}/lib*.a
rm -f %{buildroot}%{_libdir}/lib*.a \
%{buildroot}%{_libexecdir}/compel/*.a
# remove stable files
rm -f %{buildroot}%{_includedir}/compel/plugins/std/asm/.gitignore
# for compatiblity
@ -105,10 +107,15 @@ ln -s criu.8 %{buildroot}%{_mandir}/man8/crtools.8
%postun -n libcompel1 -p /sbin/ldconfig
%files
%doc README.md COPYING
%{_sbindir}/*
%{_bindir}/*
%{_mandir}/man*/*
%license COPYING
%doc README.md
%{_sbindir}/criu
%{_sbindir}/crtools
%{_bindir}/compel
%{_bindir}/crit
%{_mandir}/man1/crit.1%{?ext_man}
%{_mandir}/man8/criu.8%{?ext_man}
%{_mandir}/man8/crtools.8%{?ext_man}
%{_libexecdir}/criu
%{_libexecdir}/compel
%{_prefix}/lib/python*/site-packages/crit-*.egg-info