Hello community,

here is the log from the commit of package rubygem-webyast-services for 
openSUSE:Factory checked in at 2013-08-30 11:48:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-services (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-webyast-services.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-webyast-services"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-services/rubygem-webyast-services.changes
        2013-03-08 09:49:44.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-services.new/rubygem-webyast-services.changes
   2013-08-30 11:48:42.000000000 +0200
@@ -1,0 +2,17 @@
+Mon Aug 26 08:19:43 UTC 2013 - [email protected]
+
+- restart WebYast when the plugin is uninstalled
+- 0.3.10
+
+-------------------------------------------------------------------
+Tue May 21 15:34:30 UTC 2013 - [email protected]
+
+- fix typo in polkit rule 
+
+-------------------------------------------------------------------
+Mon Apr 22 13:49:04 UTC 2013 - [email protected]
+
+- support for the new polkit (Javascript rules file) (bnc#816478)
+- 0.3.9
+
+-------------------------------------------------------------------

Old:
----
  webyast-services-0.3.8.gem

New:
----
  40-default-webyast-services.rules
  webyast-services-0.3.10.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-webyast-services.spec ++++++
--- /var/tmp/diff_new_pack.WRJKGC/_old  2013-08-30 11:48:44.000000000 +0200
+++ /var/tmp/diff_new_pack.WRJKGC/_new  2013-08-30 11:48:44.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           rubygem-webyast-services
-Version:        0.3.8
+Version:        0.3.10
 Release:        0
 %define mod_name webyast-services
 %define mod_full_name %{mod_name}-%{version}
@@ -45,6 +45,7 @@
 Source2:        YML.rb
 Source3:        filter_services.yml
 Source4:        SERVICES.pm
+Source5:        40-default-webyast-services.rules
 
 # so SERVICES.pm is able to call YML.rb
 Requires:       yast2-ruby-bindings >= 0.3.2.1
@@ -93,6 +94,10 @@
 # Policies
 mkdir -p $RPM_BUILD_ROOT/usr/share/%{webyast_polkit_dir}
 install -m 0644 %SOURCE1 $RPM_BUILD_ROOT/usr/share/%{webyast_polkit_dir}
+%if %suse_version >= 1230
+mkdir -p $RPM_BUILD_ROOT/etc/polkit-1/rules.d/
+install -m 0644 %SOURCE5 $RPM_BUILD_ROOT/etc/polkit-1/rules.d/
+%endif
 
 # YML.rb
 mkdir -p $RPM_BUILD_ROOT/usr/share/YaST2/modules/
@@ -114,16 +119,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,-)
@@ -142,6 +150,9 @@
 
 %dir /usr/share/%{webyast_polkit_dir}
 %attr(644,root,root) %config 
/usr/share/%{webyast_polkit_dir}/org.opensuse.yast.modules.yapi.services.policy
+%if %suse_version >= 1230
+/etc/polkit-1/rules.d/40-default-webyast-services.rules
+%endif
 
 %dir /etc/webyast/
 %config /etc/webyast/filter_services.yml

++++++ 40-default-webyast-services.rules ++++++
// default permissions for "webyast" and "root" users

polkit.addRule(function(action, subject) {
  if ((action.id == "org.opensuse.yast.modules.yapi.services.read"
    || action.id == "org.opensuse.yast.modules.yapi.services.execute"
    ) && (subject.user == "webyast" || subject.user == "root"))
  {
    return polkit.Result.YES;
  }
});    

// vim: syntax=javascript

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to