Accepting request 290690 from devel:tools

1

OBS-URL: https://build.opensuse.org/request/show/290690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2015-03-16 08:42:13 +00:00 committed by Git OBS Bridge
commit 51e613f201
5 changed files with 43 additions and 6 deletions

13
crit-install-prefix.diff Normal file
View File

@ -0,0 +1,13 @@
diff --git a/Makefile b/Makefile
index 2a63f0477d08..d704a06446d5 100644
--- a/Makefile
+++ b/Makefile
@@ -289,7 +289,7 @@ install-man:
install-crit: crit
$(E) " INSTALL crit"
- $(Q) python scripts/crit-setup.py install --prefix=$(DESTDIR)
+ $(Q) python scripts/crit-setup.py install --root=$(DESTDIR) --prefix=$(PREFIX)
.PHONY: install install-man install-crit

View File

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

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

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

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Mar 13 10:10:07 CET 2015 - tiwai@suse.de
- update to version 1.5: New features
* CRIT tool
* ability to request CPU compatibility on instructions level only
* C/R of empty AIO rings
* more detailed errno report via RPC
* per-feature "criu check"
* inheriting FDs on restore
* ability to automatically move veth device to host-side bridge
on netns restore
* VT terminals support
* more user namespaces C/R stuff
See more details at http://criu.org/Releases#v._1.5
- fix installation of crit:
crit-install-prefix.diff
-------------------------------------------------------------------
Mon Dec 1 18:17:51 CET 2014 - tiwai@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package criu
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
@ -16,18 +16,20 @@
#
%define package_version 1.4
%define package_version 1.5
Name: criu
Version: 1.4
Version: 1.5
Release: 0
Summary: Checkpoint/Restore In Userspace Tools
License: GPL-2.0
Group: System/Console
Url: http://criu.org/
Source0: http://download.openvz.org/criu/criu-%{package_version}.tar.bz2
Patch1: crit-install-prefix.diff
BuildRequires: asciidoc
BuildRequires: pkg-config
BuildRequires: protobuf-c
BuildRequires: protobuf-devel
BuildRequires: xmlto
BuildRequires: pkgconfig(systemd)
Requires: logrotate
@ -63,6 +65,7 @@ to develop applications with CRIU library.
%prep
%setup -q -n %{name}-%{package_version}
%patch1 -p1
%build
export CFLAGS="%{optflags}"
@ -103,9 +106,12 @@ exit 0
%defattr(-,root,root)
%doc README COPYING
%{_sbindir}/*
%{_bindir}/*
%{_mandir}/man*/*
%{_unitdir}/criu.*
%config %{_sysconfdir}/logrotate.d/*
/usr/lib/python*/site-packages/crit-*.egg-info
/usr/lib/python*/site-packages/pycriu
%files -n libcriu1
%defattr(-,root,root)