From a8b4975b5ccc52a4161a9ff21a2e9a2f6c0f7407 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Mon, 3 Apr 2023 21:32:11 +0200 Subject: [PATCH] Don't 'Requires: flatpak-session-helper' on RHEL ... because RHEL has always shipped toolbox >= 0.0.97 and hence doesn't require flatpak-session-helper. There's no need to do a build just for this. --- toolbox.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/toolbox.spec b/toolbox.spec index a755bd8..4d879e2 100644 --- a/toolbox.spec +++ b/toolbox.spec @@ -54,8 +54,10 @@ BuildRequires: systemd BuildRequires: systemd-rpm-macros Requires: containers-common -Requires: flatpak-session-helper Requires: podman >= 1.4.0 +%if ! 0%{?rhel} +Requires: flatpak-session-helper +%endif %description