From db5fa3a6bebd1cae615b461bacc85400b93685c9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 21 Aug 2016 11:02:21 +0300 Subject: [PATCH] up to 2.5, update runtime deps --- cc-quote.patch | 11 ----------- criu.spec | 10 ++++------ 2 files changed, 4 insertions(+), 17 deletions(-) delete mode 100644 cc-quote.patch diff --git a/cc-quote.patch b/cc-quote.patch deleted file mode 100644 index fc45d39..0000000 --- a/cc-quote.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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") diff --git a/criu.spec b/criu.spec index 3c3f254..c808493 100644 --- a/criu.spec +++ b/criu.spec @@ -3,14 +3,13 @@ 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 @@ -25,8 +24,8 @@ BuildRequires: rpm-pythonprov 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) @@ -96,7 +95,6 @@ Pythonowy interfejs do CRIU. Ten pakiet zawiera także narzędzie crit. %prep %setup -q %patch0 -p1 -%patch1 -p1 %{__sed} -i -e 's#-O2 -g#$(OPT)#g' Makefile -- 2.43.0