aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-08-16 16:58:39 -0400
committerGitHub <noreply@github.com>2018-08-16 16:58:39 -0400
commit1b87fbc591bf13bc7ba55d5a70334237fe8620d7 (patch)
tree97586755f5bf527e4fbfbaf75155c637918e093b /contrib
parentc4fadaba6b46029c4c94ef7779eac73345cde07a (diff)
parent7855d0ac71c85cc9a62acc53daebbb2d83a3a592 (diff)
downloadpodman-1b87fbc591bf13bc7ba55d5a70334237fe8620d7.tar.gz
podman-1b87fbc591bf13bc7ba55d5a70334237fe8620d7.tar.bz2
podman-1b87fbc591bf13bc7ba55d5a70334237fe8620d7.zip
Merge pull request #1271 from vrothberg/recommend-slirp4netns
podman.spec: recommend slirp4netns
Diffstat (limited to 'contrib')
-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