From 2ae8c97719c03a76544c9bce1ecf49234b3a08f2 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 13 Sep 2018 12:01:09 +0200 Subject: [PATCH] Require xdg-desktop-portal Make sure the document portal is installed now that it moved out of flatpak and into xdg-desktop-portal. --- flatpak.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/flatpak.spec b/flatpak.spec index c6b64c8..7f48261 100644 --- a/flatpak.spec +++ b/flatpak.spec @@ -36,9 +36,14 @@ Requires: bubblewrap >= %{bubblewrap_version} Requires: ostree-libs%{?_isa} >= %{ostree_version} Recommends: /usr/bin/p11-kit -# Document portal moved to xdg-desktop-portal 0.10 (in flatpak 0.11.1). +# Make sure the document portal is installed +%if 0%{?fedora} || 0%{?rhel} > 7 +Recommends: xdg-desktop-portal > 0.10 # Remove in F30. Conflicts: xdg-desktop-portal < 0.10 +%else +Requires: xdg-desktop-portal > 0.10 +%endif %description flatpak is a system for building, distributing and running sandboxed desktop