Hello community, here is the log from the commit of package webyast-reboot-ws for openSUSE:Factory checked in at Thu May 19 13:26:02 CEST 2011.
-------- --- webyast-reboot-ws/webyast-reboot-ws.changes 2011-04-19 14:33:51.000000000 +0200 +++ /mounts/work_src_done/STABLE/webyast-reboot-ws/webyast-reboot-ws.changes 2011-05-16 13:39:56.000000000 +0200 @@ -1,0 +2,7 @@ +Mon May 16 07:27:25 UTC 2011 - [email protected] + +- Added new right org.opensuse.yast.system.power-management.policy + (bnc #687807) +- 0.2.3 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- org.opensuse.yast.system.power-management.policy ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ webyast-reboot-ws.spec ++++++ --- /var/tmp/diff_new_pack.6xdYUa/_old 2011-05-19 13:25:27.000000000 +0200 +++ /var/tmp/diff_new_pack.6xdYUa/_new 2011-05-19 13:25:27.000000000 +0200 @@ -24,14 +24,15 @@ PreReq: yast2-webservice # requires HAL for reboot/shutdown actions Requires: hal -License: GPLv2 +License: GPL-2.0 Group: Productivity/Networking/Web/Utilities Url: http://en.opensuse.org/Portal:WebYaST AutoReqProv: on -Version: 0.2.2 +Version: 0.2.3 Release: 1 Summary: WebYaST - reboot/shutdown service Source: www.tar.bz2 +Source1: org.opensuse.yast.system.power-management.policy BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch BuildRequires: rubygem-webyast-rake-tasks >= 0.1.3 @@ -46,7 +47,7 @@ # %package testsuite -License: GPLv2 + Group: Productivity/Networking/Web/Utilities Requires: %{name} = %{version} Requires: webyast-base-ws-testsuite @@ -86,6 +87,10 @@ cp -a * $RPM_BUILD_ROOT%{plugin_dir}/ rm -f $RPM_BUILD_ROOT%{plugin_dir}/COPYING +# Policies +mkdir -p $RPM_BUILD_ROOT/usr/share/PolicyKit/policy +install -m 0644 %SOURCE1 $RPM_BUILD_ROOT/usr/share/PolicyKit/policy/ + %clean rm -rf $RPM_BUILD_ROOT @@ -135,6 +140,10 @@ %{plugin_dir}/config %{plugin_dir}/public +%dir /usr/share/PolicyKit +%dir /usr/share/PolicyKit/policy +%attr(644,root,root) %config /usr/share/PolicyKit/policy/org.opensuse.yast.system.power-management.policy + %doc COPYING %files testsuite ++++++ www.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/www/app/controllers/system_controller.rb new/www/app/controllers/system_controller.rb --- old/www/app/controllers/system_controller.rb 2010-08-27 14:58:55.000000000 +0200 +++ new/www/app/controllers/system_controller.rb 2011-05-16 09:20:57.000000000 +0200 @@ -61,13 +61,13 @@ case k when 'reboot' - permission_check( 'org.freedesktop.hal.power-management.reboot') + permission_check( 'org.opensuse.yast.system.power-management.reboot') if v['active'] == true and @system.actions[k.to_sym][:active] == false do_reboot = true end when 'shutdown' - permission_check( 'org.freedesktop.hal.power-management.shutdown') + permission_check( 'org.opensuse.yast.system.power-management.shutdown') if v['active'] == true and @system.actions[k.to_sym][:active] == false do_shutdown = true ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
