From ef14f5ab9ae3c14e8c1ffbe47a9e1b27b908a5b7 Mon Sep 17 00:00:00 2001 From: Felipe Borges Date: Thu, 16 May 2019 14:33:22 +0200 Subject: [PATCH] Pass -Dpolkit=disabled and avoid passing helper path for Flatpak --- spice-gtk.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spice-gtk.spec b/spice-gtk.spec index 08cdcf2..0bdc3c7 100644 --- a/spice-gtk.spec +++ b/spice-gtk.spec @@ -123,7 +123,11 @@ gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} %{mjpegflag} \ %{celt051flag} \ %{pulseflag} \ +%if 0%{?flatpak} + -Dpolkit=disabled +%else -Dusb-acl-helper-dir=%{_libexecdir}/spice-gtk-%{_arch}/ +%endif %meson_build