summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/spec/podman.spec.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/spec/podman.spec.in b/contrib/spec/podman.spec.in
index efebabeb4..9ca148310 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