From f622a2a54bf04f51967b7a159debc73fc2693aa4 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Wed, 4 Oct 2023 14:33:44 -0400 Subject: [PATCH] [CI:BUILD] rpm/copr: gvforwarder recommends for RHEL We don't have a successful rhel build of gvforwarder so far on the podman-next copr, so any RHEL users of podman-next will have trouble installing podman if it's a gvforwarder is a hard dep. Switching gvforwarder to a Recommends until that's resolved. The ELN environment is an exception as it gets dependencies updated a lot quicker. [NO NEW TESTS NEEDED] Signed-off-by: Lokesh Mandvekar --- rpm/podman.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpm/podman.spec b/rpm/podman.spec index 583aa0d55d..255349a170 100644 --- a/rpm/podman.spec +++ b/rpm/podman.spec @@ -109,7 +109,11 @@ BuildRequires: python3 Requires: catatonit Requires: conmon >= 2:2.1.7-2 Requires: containers-common-extra +%if %{defined rhel} && !%{defined eln} +Recommends: gvisor-tap-vsock-gvforwarder +%else Requires: gvisor-tap-vsock-gvforwarder +%endif Recommends: gvisor-tap-vsock Provides: %{name}-quadlet Obsoletes: %{name}-quadlet <= 5:4.4.0-1