On 31/10/2024 17:05, Johannes Kastl wrote:
Hi all,
while packaging apx (https://github.com/Vanilla-OS/apx) I noticed something funny with distrobox.
distrobox has the following line in the spec:
Requires: (%{_bindir}/podman or %{_bindir}/docker)
However, on a new Tumbleweed VM or container, installing distrobox does not pull in podman, it pulls in docker.
Hm, never seen depending on binaries (in openSUSE), but that is definitely a bug, as I have a couple packages where i give a choice, and it autoselects the first option (package names))
I would have assumed that the first in the list, i.e. podman, is being installed if neither is already installed.
Is there a way to tell RPM to "favor" podman over docker, if neither is already installed?
Kind Regards, Johannes