From 2ffb703d1b36346d43d6f11c870279934d7a1bb9 Mon Sep 17 00:00:00 2001
From: Daniel J Walsh <dwalsh@redhat.com>
Date: Thu, 11 Jun 2020 08:54:13 -0400
Subject: [PATCH] Fix builds for RDO

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
---
 contrib/spec/podman.spec.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/contrib/spec/podman.spec.in b/contrib/spec/podman.spec.in
index 8d3cba612e..260de7b204 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