adjust dep for centos 7

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
(cherry picked from commit f7f8ed3f8f94bb98d22d1c503f4b92e617d7f33c)
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2021-04-21 16:39:00 -04:00
parent 0f8c0e3037
commit 324019fa24

View File

@ -70,7 +70,11 @@ BuildRequires: golang(github.com/syndtr/gocapability/capability)
BuildRequires: golang(github.com/vishvananda/netlink)
BuildRequires: golang(github.com/vishvananda/netlink/nl)
%endif
%if 0%{?centos} >= 8
Recommends: container-selinux >= 2:2.85-1
%else
Requires: container-selinux >= 2:2.85-1
%endif
%ifnarch s390x
Recommends: criu