From 56d3159275bda5691baf8d4f6d74e4fad4d6dbd4 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Thu, 7 Sep 2017 10:15:08 -0400 Subject: [PATCH] Requires: criu for centos Signed-off-by: Lokesh Mandvekar --- runc.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/runc.spec b/runc.spec index 7d5b78b..90c854a 100644 --- a/runc.spec +++ b/runc.spec @@ -70,9 +70,14 @@ BuildRequires: golang(github.com/vishvananda/netlink) BuildRequires: golang(github.com/vishvananda/netlink/nl) %endif + +%if ! 0%{?centos} %ifnarch s390x Recommends: criu %endif +%else +Requires: criu +%endif %description The runc command can be used to start containers which are packaged