From 05f251923d79aab715ee30f55965ee7f77ad1edc Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Jan 28 2021 21:06:28 +0000 Subject: adjust for centos7 Signed-off-by: Lokesh Mandvekar --- diff --git a/containers-common.spec b/containers-common.spec index 088e524..e652da0 100644 --- a/containers-common.spec +++ b/containers-common.spec @@ -20,8 +20,13 @@ Summary: Common configuration and documentation for containers License: ASL 2.0 BuildArch: noarch BuildRequires: go-md2man +%if 0%{?fedora} || 0%{?centos} >= 8 Recommends: fuse-overlayfs Recommends: slirp4netns +%else +Requires: fuse-overlayfs +Requires: slirp4netns +%endif Source1: %{github_containers}/common/%{common_branch}/docs/containers.conf.5.md Source2: %{github_containers}/common/%{common_branch}/pkg/config/containers.conf Source3: %{github_containers}/common/%{common_branch}/pkg/seccomp/seccomp.json