Remove remaining references to policykit

This commit is contained in:
Mathieu Comandon 2020-02-05 21:32:41 -08:00
parent 6f6b50cf66
commit 7d73c5a985
2 changed files with 0 additions and 23 deletions

View file

@ -40,7 +40,6 @@ BuildRequires: python3-gobject, python3-setuptools, typelib-1_0-Gtk-3_0
BuildRequires: update-desktop-files
# Needed to workaround "directories not owned by a package" issue
BuildRequires: hicolor-icon-theme
BuildRequires: polkit
BuildRequires: python3-setuptools
Requires: (python3-gobject-Gdk or python3-gobject)
Requires: python3-PyYAML, cabextract, typelib-1_0-Gtk-3_0
@ -128,7 +127,6 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{appid}.desktop
%{_datadir}/icons/hicolor/32x32/apps/lutris.png
%{_datadir}/icons/hicolor/48x48/apps/lutris.png
%{_datadir}/icons/hicolor/scalable/apps/lutris.svg
%{_datadir}/polkit-1/actions/*
%{python3_sitelib}/%{name}-*.egg-info
%{python3_sitelib}/%{name}/

View file

@ -1,21 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<vendor>Lutris</vendor>
<vendor_url>http://lutris.net</vendor_url>
<action id="net.lutris.resetxpad.pkexec.run">
<description>Reset xpad module</description>
<message>Authentication is required to reset xpad</message>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/share/lutris/bin/resetxpad</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>