Properly require one of podman or docker **with** specifying a preference for podman?

31 Oct
2024
31 Oct
'24
16:05
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. 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
153
Age (days ago)
153
Last active (days ago)
3 comments
3 participants
participants (3)
-
Andrei Borzenkov
-
Johannes Kastl
-
Richard Rahl