aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@suse.com>2018-08-14 17:57:43 +0200
committerValentin Rothberg <vrothberg@suse.com>2018-08-16 08:05:27 +0200
commit7855d0ac71c85cc9a62acc53daebbb2d83a3a592 (patch)
tree14ab09170401d9ce1abe63af6aaf0a95369b48c1
parenta04ce6893ba00dd184f7b223c74d1901c898880d (diff)
downloadpodman-7855d0ac71c85cc9a62acc53daebbb2d83a3a592.tar.gz
podman-7855d0ac71c85cc9a62acc53daebbb2d83a3a592.tar.bz2
podman-7855d0ac71c85cc9a62acc53daebbb2d83a3a592.zip
podman.spec: recommend slirp4netns
Fixes: #1234 Signed-off-by: Valentin Rothberg <vrothberg@suse.com>
-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 31a70fbde..be9d71ee2 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