just a hotfix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit-default-privs?expand=0&rev=76
This commit is contained in:
parent
4f8032086b
commit
233e00d687
18
more-systemd.diff
Normal file
18
more-systemd.diff
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
Index: polkit-default-privs-12.3/polkit-default-privs.standard
|
||||||
|
===================================================================
|
||||||
|
--- polkit-default-privs-12.3.orig/polkit-default-privs.standard
|
||||||
|
+++ polkit-default-privs-12.3/polkit-default-privs.standard
|
||||||
|
@@ -347,6 +347,13 @@ org.freedesktop.login1.inhibit-handle-po
|
||||||
|
org.freedesktop.login1.inhibit-handle-suspend-key auth_admin_keep
|
||||||
|
org.freedesktop.login1.inhibit-handle-hibernate-key auth_admin_keep
|
||||||
|
org.freedesktop.login1.inhibit-handle-lid-switch auth_admin_keep
|
||||||
|
+# even more
|
||||||
|
+org.freedesktop.login1.inhibit-delay-shutdown auth_admin_keep
|
||||||
|
+org.freedesktop.login1.inhibit-delay-sleep auth_admin_keep
|
||||||
|
+org.freedesktop.login1.inhibit-block-idle auth_admin_keep
|
||||||
|
+org.freedesktop.login1.suspend auth_admin_keep:auth_admin_keep:yes
|
||||||
|
+org.freedesktop.login1.suspend-multiple-sessions auth_admin_keep:auth_admin_keep:yes
|
||||||
|
+org.freedesktop.login1.hibernate auth_admin_keep:auth_admin_keep:yes
|
||||||
|
|
||||||
|
|
||||||
|
# gnome-control-center
|
@ -24,6 +24,7 @@ Summary: SUSE PolicyKit default permissions
|
|||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Productivity/Security
|
Group: Productivity/Security
|
||||||
Source: polkit-default-privs-%version.tar.bz2
|
Source: polkit-default-privs-%version.tar.bz2
|
||||||
|
Patch0: more-systemd.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Supplements: PolicyKit
|
Supplements: PolicyKit
|
||||||
Supplements: libpolkit0, polkit
|
Supplements: libpolkit0, polkit
|
||||||
@ -42,6 +43,7 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user