From a3178611dc9a39eadc41a54665b6c86f0aad58705bfb2b680abc2272c2c164e3 Mon Sep 17 00:00:00 2001 From: Richard Brown Date: Sat, 9 Dec 2023 09:05:56 +0000 Subject: [PATCH] Accepting request 1132087 from home:danishprakash:branches:devel:microos Default to the new networking backend, netavark, on openSUSE (bsc#1217828) OBS-URL: https://build.opensuse.org/request/show/1132087 OBS-URL: https://build.opensuse.org/package/show/devel:microos/podman?expand=0&rev=41 --- podman.changes | 5 +++++ podman.spec | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/podman.changes b/podman.changes index 12bdc39..83e1113 100644 --- a/podman.changes +++ b/podman.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 7 08:43:26 UTC 2023 - Danish Prakash + +- Default to the new networking backend, netavark, on openSUSE (bsc#1217828) + ------------------------------------------------------------------- Wed Dec 06 06:02:02 UTC 2023 - danish.prakash@suse.com diff --git a/podman.spec b/podman.spec index 35b208d..de90bb5 100644 --- a/podman.spec +++ b/podman.spec @@ -52,13 +52,21 @@ Recommends: apparmor-parser # requirement for `podman machine` Recommends: gvisor-tap-vsock Requires: catatonit >= 0.1.7 -# prefer Podman's new network stack on ALP +# provide both cni and netavark on TW +# but "prefer" netavark especially for +# fresh installations (bsc#1217828) +%if 0%{?suse_version} > 1600 +Requires: (netavark or cni) +Suggests: netavark +%else +# default to Netavark on ALP %if 0%{suse_version} >= 1600 && !0%{?is_opensuse} Requires: netavark %else Requires: cni Requires: cni-plugins %endif +%endif Requires: conmon >= 2.0.24 Requires: fuse-overlayfs Requires: iptables