summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-06-11 08:54:13 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-06-11 08:55:19 -0400
commit2ffb703d1b36346d43d6f11c870279934d7a1bb9 (patch)
tree20a35936031fa2bbacbf862c6e5e05d316bddef0 /contrib
parentb62e50f53b9e65c86e877bb931fa53602eba53c7 (diff)
downloadpodman-2ffb703d1b36346d43d6f11c870279934d7a1bb9.tar.gz
podman-2ffb703d1b36346d43d6f11c870279934d7a1bb9.tar.bz2
podman-2ffb703d1b36346d43d6f11c870279934d7a1bb9.zip
Fix builds for RDO
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/spec/podman.spec.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/spec/podman.spec.in b/contrib/spec/podman.spec.in
index 8d3cba612..260de7b20 100644
--- a/contrib/spec/podman.spec.in
+++ b/contrib/spec/podman.spec.in
@@ -77,8 +77,9 @@ BuildRequires: systemd-devel
Requires: skopeo-containers
Requires: containernetworking-plugins >= 0.6.0-3
Requires: iptables
-%if 0%{?rhel} <= 7
+%if 0%{?rhel} < 8 || 0%{?centos} < 8
Requires: container-selinux
+Requires: runc
%else
%if 0%{?rhel} || 0%{?centos}
Requires: runc