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.
This commit is contained in:
Felipe Borges 2019-04-09 13:57:36 +00:00
parent a6a6e6cd1e
commit 1f90b4502c

View File

@ -28,7 +28,9 @@ BuildRequires: cyrus-sasl-devel
BuildRequires: libcacard-devel BuildRequires: libcacard-devel
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
BuildRequires: libacl-devel BuildRequires: libacl-devel
%if ! 0%{?flatpak}
BuildRequires: polkit-devel BuildRequires: polkit-devel
%endif
BuildRequires: gtk-doc BuildRequires: gtk-doc
BuildRequires: vala BuildRequires: vala
BuildRequires: usbutils BuildRequires: usbutils