adjust criu dep for centos7

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
(cherry picked from commit 5ee1397ac2e208fe89540113926210bc3a143af3)
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2021-04-21 17:00:35 -04:00
parent e3f32e17b0
commit fe1b87bad0

View File

@ -84,9 +84,13 @@ Recommends: container-selinux >= 2:2.85-1
Requires: container-selinux >= 2:2.85-1 Requires: container-selinux >= 2:2.85-1
%endif %endif
%if 0%{?centos} <= 7
Requires: criu
%else
%ifnarch s390x %ifnarch s390x
Recommends: criu Recommends: criu
%endif %endif
%endif
%description %description
The runc command can be used to start containers which are packaged The runc command can be used to start containers which are packaged