Name: crtools Version: 0.6 Release: 2%{?dist} Summary: Tool for Checkpoint/Restore in User-space Group: System Environment/Base License: GPLv2 URL: http://criu.org/ Source0: http://download.openvz.org/criu/criu-0.6.tar.bz2 Patch0: 0001-arm-added-ARM-versions-of-the-POSIX-timer-syscalls.patch Patch1: 0001-posix-timers-don-t-call-ferror-for-NULL.patch Patch2: 0001-posix-times-don-t-fail-if-proc-PID-times-is-absent.patch BuildRequires: protobuf-c-devel asciidoc xmlto # user-space and kernel changes are only available for x86_64 # code is very architecture specific # once imported in RCS it needs a bug openend explaining the ExclusiveArch # https://bugzilla.redhat.com/show_bug.cgi?id=902875 ExclusiveArch: x86_64 %description crtools is the user-space part of Checkpoint/Restore in User-space (CRIU), a project to implement checkpoint/restore functionality for Linux in user-space. %prep %setup -q -n criu-0.6 %patch0 -p1 %patch1 -p1 %patch2 -p1 %build # %{?_smp_mflags} does not work # -fstack-protector breaks build CFLAGS+=`echo %{optflags} | sed -e 's,-fstack-protector,,g'` make V=1 WERROR=0 PREFIX=%{_prefix} make docs V=1 %install make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} # upstream renamed to binary to criu ln -s %{_sbindir}/criu $RPM_BUILD_ROOT%{_sbindir}/crtools %files %{_sbindir}/%{name} %{_sbindir}/criu %{_mandir}/man8/* %doc README COPYING %changelog * Wed Jul 03 2013 Andrew Vagin - 0.6.2 - fix building on ARM - fix null pointer dereference * Tue Jul 02 2013 Adrian Reber - 0.6-1 - updated to 0.6 - upstream moved binaries to sbin - using upstream's make install * Tue May 14 2013 Adrian Reber - 0.5-1 - updated to 0.5 * Fri Feb 22 2013 Adrian Reber - 0.4-1 - updated to 0.4 * Wed Feb 13 2013 Fedora Release Engineering - 0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Jan 22 2013 Adrian Reber - 0.3-3 - added ExclusiveArch blocker bug * Fri Jan 18 2013 Adrian Reber - 0.3-2 - improved Summary and Description * Mon Jan 14 2013 Adrian Reber - 0.3-1 - updated to 0.3 - fix building Documentation/ * Tue Aug 21 2012 Adrian Reber - 0.2-2 - remove macros like %%{__mkdir_p} and %%{__install} - add comment why it is only x86_64 * Tue Aug 21 2012 Adrian Reber - 0.2-1 - initial release