From 9cbdb27aead6b40dcae9d077f3ce70ebe67857c7 Mon Sep 17 00:00:00 2001 From: Peter Hunt Date: Nov 09 2020 15:37:47 +0000 Subject: allow backwards compatible runc dep Signed-off-by: Peter Hunt --- diff --git a/cri-o.spec b/cri-o.spec index 3c9c23e..5aef02c 100644 --- a/cri-o.spec +++ b/cri-o.spec @@ -48,7 +48,7 @@ Epoch: 2 Name: %{repo} Version: 1.18.4 -Release: 2%{?dist} +Release: 3%{?dist} ExcludeArch: ppc64 Summary: Kubernetes Container Runtime Interface for OCI-based containers License: ASL 2.0 @@ -78,7 +78,11 @@ Requires(pre): (container-selinux if selinux-policy) Requires: container-selinux %endif Requires: containers-common >= 1:0.1.31-14 +%if 0%{?fedora} || 0%{?centos} >= 8 Recommends: runc >= 1.0.0-16 +%else +Requires: runc >= 1.0.0-16 +%endif Obsoletes: ocid <= 0.3 Provides: ocid = %{epoch}:%{version}-%{release} Provides: %{service_name} = %{epoch}:%{version}-%{release} @@ -225,6 +229,9 @@ sed -i -e 's/,metacopy=on//g' /etc/containers/storage.conf %{_datadir}/zsh/site-functions/_%{service_name}* %changelog +* Mon Nov 9 10:37:25 EST 2020 Peter Hunt - 2:1.18.4-3 +- allow backwards compatible runc dep + * Fri Oct 23 2020 Peter Hunt - 2:1.18.4-2 - bump to v1.18.4