From bb8fc6df8c6a5b6875f1c1be61ed1e74b01dafee Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Mon, 8 Jul 2024 17:39:23 +0200 Subject: [PATCH] Make Fedora dependencies Fedora-only Signed-off-by: Jindrich Novy --- rpm/containers-common.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/rpm/containers-common.spec b/rpm/containers-common.spec index 31fdb5617..65ad6f4e7 100644 --- a/rpm/containers-common.spec +++ b/rpm/containers-common.spec @@ -85,19 +85,21 @@ Summary: Extra dependencies for Podman and Buildah Requires: %{name} = %{epoch}:%{version}-%{release} Requires: container-network-stack Requires: oci-runtime +Requires: nftables +Requires: passt +%if %{defined fedora} +Requires: iptables Conflicts: podman < 5:5.0.0~rc4-1 Recommends: composefs Recommends: crun Requires: (crun if fedora-release-identity-server) Requires: netavark >= %{netavark_epoch}:1.10.3-1 Suggests: slirp4netns -Requires: passt -Requires: iptables -Requires: nftables Recommends: qemu-user-static Requires: (qemu-user-static-aarch64 if fedora-release-identity-server) Requires: (qemu-user-static-arm if fedora-release-identity-server) Requires: (qemu-user-static-x86 if fedora-release-identity-server) +%endif %description extra This subpackage will handle dependencies common to Podman and Buildah which are