From 7855d0ac71c85cc9a62acc53daebbb2d83a3a592 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Tue, 14 Aug 2018 17:57:43 +0200 Subject: [PATCH] podman.spec: recommend slirp4netns Fixes: #1234 Signed-off-by: Valentin Rothberg --- contrib/spec/podman.spec.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/contrib/spec/podman.spec.in b/contrib/spec/podman.spec.in index 31a70fbdec..be9d71ee29 100644 --- a/contrib/spec/podman.spec.in +++ b/contrib/spec/podman.spec.in @@ -64,10 +64,12 @@ Requires: containers-common Requires: containernetworking-cni >= 0.6.0-3 Requires: iptables Requires: oci-systemd-hook -%if 0%{?fedora} -Recommends: container-selinux -%else +%if 0%{?rhel} && 0%{?rhel} < 8 Requires: container-selinux +Requires: slirp4netns +%else +Recommends: container-selinux +Recommends: slirp4netns %endif # vendored libraries