Hello community,

here is the log from the commit of package criu for openSUSE:Factory checked in 
at 2014-01-16 17:05:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/criu (Old)
 and      /work/SRC/openSUSE:Factory/.criu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "criu"

Changes:
--------
--- /work/SRC/openSUSE:Factory/criu/criu.changes        2013-12-05 
21:31:52.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.criu.new/criu.changes   2014-01-23 
15:41:05.000000000 +0100
@@ -1,0 +2,26 @@
+Wed Jan  8 16:40:12 CET 2014 - ti...@suse.de
+
+- Update to version 1.1-rc1:
+  New features:
+   * libcriu.so -- wrapper library for RPC clients
+   * new plugins: external unix sockets, external bind mounts,
+     external net devices and unknown file types 
+   * Images deduplication in incremental dumps
+   * Integration with systemd
+   * Filtering of criu show output 
+  Bug fixes:
+   * Errors in unlinked files/sockets detection on BTRFS
+   * NFS silly-rename files are not treated as unlinked
+   * Freezer fail to seize quickly forking/pthread_create-ing tasks
+   * Extra stop signal queued for stopped tasks after pre-dump
+   * Wrong dying task state detection
+   * Lost RPC dump response
+   * Crash when reporting restore error via RPC
+   * Negative return code into shell
+   * Tasks left in wrong states after failed dump
+   * A little bit more verbose check action
+   * Coverity checks fail here and there 
+
+- Drop obsoleted criu-fix-PTRACE_LISTEN-define.diff
+
+-------------------------------------------------------------------

Old:
----
  criu-1.0.tar.bz2
  criu-fix-PTRACE_LISTEN-define.diff

New:
----
  criu-1.1-rc1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ criu.spec ++++++
--- /var/tmp/diff_new_pack.OvtyhG/_old  2014-01-23 15:41:06.000000000 +0100
+++ /var/tmp/diff_new_pack.OvtyhG/_new  2014-01-23 15:41:06.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package alsa
+# spec file for package criu
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,9 +15,11 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
+%define package_version 1.1-rc1
 Name:           criu
-Version:        1.0
-Release:        1
+Version:        1.0.99.1 
+Release:        0
 Summary:        Checkpoint/Restore In Userspace Tools
 License:        GPL-2.0
 Group:          System/Console
@@ -25,8 +27,8 @@
 BuildRequires:  asciidoc
 BuildRequires:  protobuf-c
 BuildRequires:  xmlto
-Source0:        http://download.openvz.org/criu/criu-%{version}.tar.bz2
-Patch1:         criu-fix-PTRACE_LISTEN-define.diff
+BuildRequires:  pkgconfig(systemd)
+Source0:        http://download.openvz.org/criu/criu-%{package_version}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  x86_64
 
@@ -38,8 +40,7 @@
 the point it was frozen at.
 
 %prep
-%setup -q
-%patch1 -p1
+%setup -q -n %{name}-%{package_version}
 
 %build
 export CFLAGS="%optflags"
@@ -53,10 +54,27 @@
 # fix up wrong permissions
 chmod 0644 $RPM_BUILD_ROOT%{_mandir}/man*/*
 
+%pre
+%service_add_pre criu.service criu.socket
+exit 0
+
+%preun
+%service_del_preun criu.service criu.socket
+exit 0
+
+%post
+%service_add_post criu.service criu.socket
+exit 0
+
+%postun
+%service_del_postun criu.service criu.socket
+exit 0
+
 %files
 %defattr(-,root,root)
 %doc README COPYING
 %{_sbindir}/*
 %{_mandir}/man*/*
+%{_unitdir}/criu.*
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to