From 1f90b4502c0eba0def18983e67fe688055e66f70 Mon Sep 17 00:00:00 2001 From: Felipe Borges Date: Tue, 9 Apr 2019 13:57:36 +0000 Subject: [PATCH] Don't Require polkit-devel for Flatpak builds Spice-gtk will install the polkit action when polkit is available in the build environment. Flatpaks don't support these assets at the moment, therefore the build of spice-gtk in Flatpaks will fail. --- spice-gtk.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spice-gtk.spec b/spice-gtk.spec index eab968f..3f186b6 100644 --- a/spice-gtk.spec +++ b/spice-gtk.spec @@ -28,7 +28,9 @@ BuildRequires: cyrus-sasl-devel BuildRequires: libcacard-devel BuildRequires: gobject-introspection-devel BuildRequires: libacl-devel +%if ! 0%{?flatpak} BuildRequires: polkit-devel +%endif BuildRequires: gtk-doc BuildRequires: vala BuildRequires: usbutils