commit webyast-reboot-ws for openSUSE:Factory
Hello community, here is the log from the commit of package webyast-reboot-ws for openSUSE:Factory checked in at Wed May 4 10:55:53 CEST 2011. -------- --- webyast-reboot-ws/webyast-reboot-ws.changes 2010-08-23 16:38:48.000000000 +0200 +++ /mounts/work_src_done/STABLE/webyast-reboot-ws/webyast-reboot-ws.changes 2011-04-19 14:33:51.000000000 +0200 @@ -1,0 +2,13 @@ +Tue Apr 12 13:33:13 UTC 2011 - schubi@novell.com + +- new caching +- 0.2.2 + +------------------------------------------------------------------- +Thu Nov 25 14:14:10 UTC 2010 - lslezak@suse.cz + +- fixed loosing permissions after upgrade from WebYaST-1.0 + (bnc#645310) +- 0.2.1 + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ webyast-reboot-ws.spec ++++++ --- /var/tmp/diff_new_pack.nk6TMH/_old 2011-05-04 10:53:54.000000000 +0200 +++ /var/tmp/diff_new_pack.nk6TMH/_new 2011-05-04 10:53:54.000000000 +0200 @@ -28,7 +28,7 @@ Group: Productivity/Networking/Web/Utilities Url: http://en.opensuse.org/Portal:WebYaST AutoReqProv: on -Version: 0.2.0 +Version: 0.2.2 Release: 1 Summary: WebYaST - reboot/shutdown service Source: www.tar.bz2 @@ -89,7 +89,11 @@ %clean rm -rf $RPM_BUILD_ROOT -%post +# %posttrans is used instead of %post so it ensures the rights are +# granted even after upgrading from old package (before renaming) (bnc#645310) +# (see https://fedoraproject.org/wiki/Packaging/ScriptletSnippets#Syntax ) + +%posttrans # granting all permissions for the web user #FIXME don't silently fail polkit-auth --user %{webyast_ws_user} --grant org.freedesktop.hal.power-management.shutdown >& /dev/null || true ++++++ www.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/www/app/models/system.rb new/www/app/models/system.rb --- old/www/app/models/system.rb 2010-07-15 10:31:45.000000000 +0200 +++ new/www/app/models/system.rb 2011-02-01 10:49:25.000000000 +0100 @@ -57,14 +57,14 @@ # connect to the system bus # Make a fresh connection, to be able to reboot # after DBus is restarted, bnc#582759 - system_bus = DBus::SystemBus.send :new + system_bus = DBus::SystemBus.send :new # RORSCAN_ITL # get the HAL service - hal_service = system_bus.service('org.freedesktop.Hal') + hal_service = system_bus.service('org.freedesktop.Hal') # RORSCAN_ITL computer = hal_service.object('/org/freedesktop/Hal/devices/computer') computer.introspect - computer.default_iface = 'org.freedesktop.Hal.Device.SystemPowerManagement' + computer.default_iface = 'org.freedesktop.Hal.Device.SystemPowerManagement' # RORSCAN_ITL case action ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de