From fe1b87bad0b3db6b19d7fec966dea39b268dac10 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Wed, 21 Apr 2021 17:00:35 -0400 Subject: [PATCH] adjust criu dep for centos7 Signed-off-by: Lokesh Mandvekar (cherry picked from commit 5ee1397ac2e208fe89540113926210bc3a143af3) Signed-off-by: Lokesh Mandvekar --- runc.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runc.spec b/runc.spec index 4848d8b..848cc9f 100644 --- a/runc.spec +++ b/runc.spec @@ -84,9 +84,13 @@ Recommends: container-selinux >= 2:2.85-1 Requires: container-selinux >= 2:2.85-1 %endif +%if 0%{?centos} <= 7 +Requires: criu +%else %ifnarch s390x Recommends: criu %endif +%endif %description The runc command can be used to start containers which are packaged