Hello community, here is the log from the commit of package rubygem-webyast-time for openSUSE:Factory checked in at 2013-08-30 11:48:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-time (Old) and /work/SRC/openSUSE:Factory/.rubygem-webyast-time.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-webyast-time" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-webyast-time/rubygem-webyast-time.changes 2013-03-08 21:17:55.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-webyast-time.new/rubygem-webyast-time.changes 2013-08-30 11:48:48.000000000 +0200 @@ -1,0 +2,18 @@ +Mon Aug 26 08:19:43 UTC 2013 - lsle...@suse.cz + +- restart WebYast when the plugin is uninstalled +- 0.3.15 + +------------------------------------------------------------------- +Thu May 23 08:02:07 UTC 2013 - lsle...@suse.cz + +- Display current time config status (bnc#806516) + (by vmora...@suse.com) +- 0.3.14 + +------------------------------------------------------------------- +Mon Apr 22 13:49:04 UTC 2013 - lsle...@suse.cz + +- support for the new polkit (Javascript rules file) (bnc#816478) + +------------------------------------------------------------------- Old: ---- webyast-time-0.3.13.gem New: ---- 40-default-webyast-time.rules webyast-time-0.3.15.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-webyast-time.spec ++++++ --- /var/tmp/diff_new_pack.QBaPPa/_old 2013-08-30 11:48:49.000000000 +0200 +++ /var/tmp/diff_new_pack.QBaPPa/_new 2013-08-30 11:48:49.000000000 +0200 @@ -17,7 +17,7 @@ Name: rubygem-webyast-time -Version: 0.3.13 +Version: 0.3.15 Release: 0 %define mod_name webyast-time %define mod_full_name %{mod_name}-%{version} @@ -43,6 +43,7 @@ License: GPL-2.0 Group: Productivity/Networking/Web/Utilities Source: %{mod_full_name}.gem +Source1: 40-default-webyast-time.rules # YaPI/TIME.pm, *.policy %if 0%{?suse_version} == 0 || %suse_version > 1110 @@ -92,6 +93,11 @@ %install %gem_install %{S:0} +%if %suse_version >= 1230 +mkdir -p $RPM_BUILD_ROOT/etc/polkit-1/rules.d/ +install -m 0644 %SOURCE1 $RPM_BUILD_ROOT/etc/polkit-1/rules.d/ +%endif + %webyast_build_restdoc %webyast_build_plugin_assets @@ -100,16 +106,19 @@ %{__rm} -rf $RPM_BUILD_ROOT %post +%if %suse_version < 1230 # # granting all permissions for root # /usr/sbin/grantwebyastrights --user root --action grant > /dev/null /usr/sbin/grantwebyastrights --user %{webyast_user} --action grant > /dev/null +%endif %restart_webyast %postun %webyast_remove_assets +%webyast_plugin_postun %files %defattr(-,root,root,-) @@ -117,6 +126,9 @@ %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ %exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec +%if %suse_version >= 1230 +/etc/polkit-1/rules.d/40-default-webyast-time.rules +%endif # precompiled assets %dir %{webyast_dir}/public/assets ++++++ 40-default-webyast-time.rules ++++++ // default permissions for "webyast" and "root" users polkit.addRule(function(action, subject) { if ((action.id == "org.opensuse.yast.modules.yapi.time.read" || action.id == "org.opensuse.yast.modules.yapi.time.write" ) && (subject.user == "webyast" || subject.user == "root")) { return polkit.Result.YES; } }); // vim: syntax=javascript -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org