+++ /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")
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.4
+Version: 2.5
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: 2f3a158d9bf74529c9dad53a67514de7
+# Source0-md5: 5d5115454d110adb744e885d82d2c1f6
Patch0: %{name}-python.patch
-Patch1: cc-quote.patch
URL: http://criu.org/
BuildRequires: asciidoc
BuildRequires: libcap-devel
BuildRequires: rpmbuild(macros) >= 1.228
BuildRequires: sed >= 4.0
Requires: %{name}-libs = %{version}-%{release}
-Requires: iproute2 >= 3.6
-Requires: uname(release) >= 3.9
+Requires: iproute2 >= 3.5
+Requires: uname(release) >= 3.11
ExclusiveArch: %{x8664} arm aarch64 ppc64
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
%{__sed} -i -e 's#-O2 -g#$(OPT)#g' Makefile