Updating link to change in openSUSE:Factory/polkit-default-privs revision 76.0

OBS-URL: https://build.opensuse.org/package/show/Base:System/polkit-default-privs?expand=0&rev=d348ecfeff12dca57aac3faed7fa17ab
This commit is contained in:
OBS User buildservice-autocommit 2012-11-02 19:22:14 +00:00 committed by Git OBS Bridge
parent d0fe816472
commit e30560572d
2 changed files with 20 additions and 0 deletions

18
more-systemd.diff Normal file
View 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

View File

@ -24,6 +24,7 @@ Summary: SUSE PolicyKit default permissions
License: GPL-2.0+
Group: Productivity/Security
Source: polkit-default-privs-%version.tar.bz2
Patch0: more-systemd.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Supplements: PolicyKit
Supplements: libpolkit0, polkit
@ -42,6 +43,7 @@ Authors:
%prep
%setup -q
%patch0 -p1
%build