From abc28aea6f785119974e8b7d1178ccb4ae9bebd1 Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Thu, 10 Feb 2022 15:57:34 +0100 Subject: [PATCH] container-tools-1-9.el9 - put conditional require in the metapackage - Related: #2000051 Signed-off-by: Jindrich Novy --- container-tools.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/container-tools.spec b/container-tools.spec index caf8758..7dfff82 100644 --- a/container-tools.spec +++ b/container-tools.spec @@ -1,6 +1,6 @@ Name: container-tools Version: 1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A meta-package witch container tools such as podman, buildah, skopeo, etc. License: MIT BuildArch: noarch @@ -15,7 +15,12 @@ Requires: podman-docker Requires: podman-manpages Requires: podman-remote Requires: python3-podman -Requires: crun +Requires: oci-runtime +%if 0%{?rhel} >= 9 || 0%{?fedora} +Requires: crun >= 0.19 +%else +Requires: runc +%endif Requires: skopeo >= 1:1.3.1 Requires: slirp4netns Requires: cockpit-podman @@ -50,6 +55,10 @@ This package contains system tests for %{name}. %files tests %changelog +* Thu Feb 10 2022 Jindrich Novy - 1-9 +- put conditional require in the metapackage +- Related: #2000051 + * Tue Feb 08 2022 Jindrich Novy - 1-8 - amend dependencies for container-tools metapackage - Related: #2000051