From 913512463039b730ef74406e3cb0702f3f61b3f5 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 6 Sep 2018 11:27:24 +0200 Subject: [PATCH] Add a RHEL conditional --- flatpak-builder.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flatpak-builder.spec b/flatpak-builder.spec index a302182..5ae2604 100644 --- a/flatpak-builder.spec +++ b/flatpak-builder.spec @@ -38,7 +38,10 @@ Requires: flatpak%{?_isa} >= %{flatpak_version} Requires: glib2%{?_isa} >= %{glib2_version} Requires: ostree-libs%{?_isa} >= %{ostree_version} Requires: /usr/bin/bzip2 +%if ! 0%{?rhel} > 7 +# No bzr in latest RHEL Requires: /usr/bin/bzr +%endif Requires: /usr/bin/eu-strip Requires: /usr/bin/git Requires: /usr/bin/patch