Don't install polkit action for Flatpak builds
While building the spice-gtk RPM to construct Flatpak, we came across files being installed in prefix that aren't supported by Flatpak at the moment. Polkit being one but also spice-client-glib-usb-acl-helper
This commit is contained in:
parent
59556c4023
commit
a6a6e6cd1e
@ -153,9 +153,11 @@ spicy-screenshot is a tool to capture screen-shots of a SPICE desktop.
|
|||||||
%files -n spice-glib -f %{name}.lang
|
%files -n spice-glib -f %{name}.lang
|
||||||
%{_libdir}/libspice-client-glib-2.0.so.*
|
%{_libdir}/libspice-client-glib-2.0.so.*
|
||||||
%{_libdir}/girepository-1.0/SpiceClientGLib-2.0.typelib
|
%{_libdir}/girepository-1.0/SpiceClientGLib-2.0.typelib
|
||||||
|
%if ! 0%{?flatpak}
|
||||||
%dir %{_libexecdir}/spice-gtk-%{_arch}/
|
%dir %{_libexecdir}/spice-gtk-%{_arch}/
|
||||||
%attr(4755, root, root) %{_libexecdir}/spice-gtk-%{_arch}/spice-client-glib-usb-acl-helper
|
%attr(4755, root, root) %{_libexecdir}/spice-gtk-%{_arch}/spice-client-glib-usb-acl-helper
|
||||||
%{_datadir}/polkit-1/actions/org.spice-space.lowlevelusbaccess.policy
|
%{_datadir}/polkit-1/actions/org.spice-space.lowlevelusbaccess.policy
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n spice-glib-devel
|
%files -n spice-glib-devel
|
||||||
%{_libdir}/libspice-client-glib-2.0.so
|
%{_libdir}/libspice-client-glib-2.0.so
|
||||||
|
Loading…
Reference in New Issue
Block a user