From e30560572d8d0720a577bded969144e46eeccebadbee40c7b56060ffd9fe5b03 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Fri, 2 Nov 2012 19:22:14 +0000 Subject: [PATCH] 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 --- more-systemd.diff | 18 ++++++++++++++++++ polkit-default-privs.spec | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 more-systemd.diff diff --git a/more-systemd.diff b/more-systemd.diff new file mode 100644 index 0000000..62121ea --- /dev/null +++ b/more-systemd.diff @@ -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 diff --git a/polkit-default-privs.spec b/polkit-default-privs.spec index e6013b0..8a3bc68 100644 --- a/polkit-default-privs.spec +++ b/polkit-default-privs.spec @@ -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