--- /dev/null
+--- criu-2.4/criu/Makefile~ 2016-08-21 10:55:35.000000000 +0300
++++ criu-2.4/criu/Makefile 2016-08-21 10:55:36.728867281 +0300
+@@ -48,7 +48,7 @@
+ ifneq ($(shell sh -c \
+ 'TMP="$(OUTPUT)$(TMPOUT).$$$$"; \
+ echo "int main(int argc, char *argv[]) { return 0; }" | \
+- "$(CC)" -x c - $(LIBS) -o "$$TMP" > /dev/null 2>&1 && echo y; \
++ $(CC) -x c - $(LIBS) -o "$$TMP" > /dev/null 2>&1 && echo y; \
+ rm -f "$$TMP"'),y)
+ $(warning "Couldn't find some of the required libraries")
+ $(warning "Make sure the following packages are installed")
+# TODO
+# - unpackaged: /usr/libexec/criu/scripts/systemd-autofs-restart.sh
Summary: Checkpoint/restore functionality for Linux in userspace
Summary(pl.UTF-8): Funkcja checkpoint/restore w przestrzeni użytkownika dla Linuksa
Name: criu
-Version: 2.3
+Version: 2.4
Release: 1
License: GPL v2 (tools), LGPL v2.1 (library)
Group: Applications/System
Source0: http://download.openvz.org/criu/%{name}-%{version}.tar.bz2
-# Source0-md5: ba8f3ba9aed1219f0569cc2958a4f171
+# Source0-md5: 2f3a158d9bf74529c9dad53a67514de7
Patch0: %{name}-python.patch
+Patch1: cc-quote.patch
URL: http://criu.org/
BuildRequires: asciidoc
BuildRequires: libcap-devel
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%{__sed} -i -e 's#-O2 -g#$(OPT)#g' Makefile