commit rubygem-webyast-system for openSUSE:Factory

2013-08-27 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-system for 
openSUSE:Factory checked in at 2013-08-27 21:10:37

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-system (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-system.new (New)


Package is rubygem-webyast-system

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-system/rubygem-webyast-system.changes
2013-02-05 13:15:44.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-system.new/rubygem-webyast-system.changes
   2013-08-27 21:22:27.0 +0200
@@ -1,0 +2,12 @@
+Mon Aug 26 08:19:43 UTC 2013 - lsle...@suse.cz
+
+- restart WebYast when the plugin is uninstalled
+- 0.3.8
+
+---
+Mon Apr 22 13:49:04 UTC 2013 - lsle...@suse.cz
+
+- support for the new polkit (Javascript rules file) (bnc#816478)
+- 0.3.7
+
+---

Old:

  webyast-system-0.3.6.gem

New:

  40-default-webyast-system.rules
  webyast-system-0.3.8.gem



Other differences:
--
++ rubygem-webyast-system.spec ++
--- /var/tmp/diff_new_pack.tQxCgc/_old  2013-08-27 21:22:28.0 +0200
+++ /var/tmp/diff_new_pack.tQxCgc/_new  2013-08-27 21:22:28.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-webyast-system
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-webyast-system
-Version:0.3.6
+Version:0.3.8
 Release:0
 %define mod_name webyast-system
 %define mod_full_name %{mod_name}-%{version}
@@ -41,6 +41,7 @@
 Group:  Productivity/Networking/Web/Utilities
 Source: %{mod_full_name}.gem
 Source1:org.opensuse.yast.modules.yapi.system.policy
+Source2:40-default-webyast-system.rules
 
 %package doc
 Summary:RDoc documentation for %{mod_name}
@@ -80,6 +81,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 %SOURCE2 $RPM_BUILD_ROOT/etc/polkit-1/rules.d/
+%endif
 
 %webyast_build_restdoc
 
@@ -90,6 +95,7 @@
 # granted even after upgrading from old package (before renaming) (bnc#645310)
 # (see https://fedoraproject.org/wiki/Packaging/ScriptletSnippets#Syntax )
 %posttrans
+%if %suse_version  1230
 # granting all permissions for the web user
 #FIXME don't silently fail
 /usr/sbin/grantwebyastrights --user %{webyast_user} --action grant --policy 
org.freedesktop.consolekit.system.stop  /dev/null || true
@@ -102,10 +108,12 @@
 /usr/sbin/grantwebyastrights --user root --action grant --policy 
org.freedesktop.consolekit.system.stop-multiple-users  /dev/null || true
 /usr/sbin/grantwebyastrights --user root --action grant --policy 
org.freedesktop.consolekit.system.restart  /dev/null || true
 /usr/sbin/grantwebyastrights --user root --action grant --policy 
org.freedesktop.consolekit.system.restart-multiple-users  /dev/null || true
+%endif
 
 %restart_webyast
 
 %postun
+%if %suse_version  1230
 # don't remove the rights during package update ($1  0)
 # see https://fedoraproject.org/wiki/Packaging/ScriptletSnippets#Syntax for 
details
 if [ $1 -eq 0 ] ; then
@@ -114,6 +122,9 @@
   /usr/sbin/grantwebyastrights --user %{webyast_user} --action revoke --policy 
org.freedesktop.consolekit.system.restart  /dev/null || true
   /usr/sbin/grantwebyastrights --user %{webyast_user} --action revoke --policy 
org.freedesktop.consolekit.system.restart-multiple-users  /dev/null || true
 fi
+%endif
+
+%webyast_plugin_postun
 
 %files 
 %defattr(-,root,root,-)
@@ -124,6 +135,9 @@
 
 %dir /usr/share/%{webyast_polkit_dir}
 %attr(644,root,root) %config 
/usr/share/%{webyast_polkit_dir}/org.opensuse.yast.modules.yapi.system.policy
+%if %suse_version = 1230
+/etc/polkit-1/rules.d/40-default-webyast-system.rules
+%endif
 
 %restart_script_name
 

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

polkit.addRule(function(action, subject) {
  if ((action.id == org.opensuse.yast.modules.yapi.system.reboot
|| action.id == org.opensuse.yast.modules.yapi.system.shutdown
)  subject.user == root))
  {
return polkit.Result.YES;
  }

  // permissions for actions done by webyast
  if ((action.id == org.freedesktop.consolekit.system.stop
|| action.id == 

commit rubygem-webyast-system for openSUSE:Factory

2013-02-05 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-system for 
openSUSE:Factory checked in at 2013-02-05 13:15:41

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-system (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-system.new (New)


Package is rubygem-webyast-system, Maintainer is lsle...@suse.com

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-system/rubygem-webyast-system.changes
2012-10-23 19:45:35.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-system.new/rubygem-webyast-system.changes
   2013-02-05 13:15:44.0 +0100
@@ -1,0 +2,6 @@
+Wed Dec 12 15:47:26 UTC 2012 - lsle...@suse.cz
+
+- restart webyast after package update
+- 0.3.6
+
+---

Old:

  webyast-system-0.3.5.gem

New:

  webyast-system-0.3.6.gem



Other differences:
--
++ rubygem-webyast-system.spec ++
--- /var/tmp/diff_new_pack.Q098Zh/_old  2013-02-05 13:15:45.0 +0100
+++ /var/tmp/diff_new_pack.Q098Zh/_new  2013-02-05 13:15:45.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-webyast-system
-Version:0.3.5
+Version:0.3.6
 Release:0
 %define mod_name webyast-system
 %define mod_full_name %{mod_name}-%{version}
@@ -27,9 +27,9 @@
 BuildRequires:  rubygems_with_buildroot_patch
 %rubygems_requires
 BuildRequires:  rubygem-restility
-BuildRequires:  webyast-base = 0.3
+BuildRequires:  webyast-base = 0.3.31
 BuildRequires:  webyast-base-testsuite
-PreReq: webyast-base = 0.3
+PreReq: webyast-base = 0.3.31
 
 Obsoletes:  webyast-reboot-ui  %{version}
 Obsoletes:  webyast-reboot-ws  %{version}
@@ -69,6 +69,7 @@
 %prep
 
 %build
+%create_restart_script
 
 %check
 %webyast_run_plugin_tests
@@ -102,6 +103,8 @@
 /usr/sbin/grantwebyastrights --user root --action grant --policy 
org.freedesktop.consolekit.system.restart  /dev/null || true
 /usr/sbin/grantwebyastrights --user root --action grant --policy 
org.freedesktop.consolekit.system.restart-multiple-users  /dev/null || true
 
+%restart_webyast
+
 %postun
 # don't remove the rights during package update ($1  0)
 # see https://fedoraproject.org/wiki/Packaging/ScriptletSnippets#Syntax for 
details
@@ -122,6 +125,8 @@
 %dir /usr/share/%{webyast_polkit_dir}
 %attr(644,root,root) %config 
/usr/share/%{webyast_polkit_dir}/org.opensuse.yast.modules.yapi.system.policy
 
+%restart_script_name
+
 %files doc
 %defattr(-,root,root,-)
 %doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-webyast-system for openSUSE:Factory

2012-10-23 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-system for 
openSUSE:Factory checked in at 2012-10-23 19:45:34

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-system (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-system.new (New)


Package is rubygem-webyast-system, Maintainer is r...@suse.com

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-system/rubygem-webyast-system.changes
2012-10-12 14:33:36.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-system.new/rubygem-webyast-system.changes
   2012-10-23 19:45:35.0 +0200
@@ -1,0 +2,6 @@
+Mon Oct 15 10:18:14 UTC 2012 - lsle...@suse.cz
+
+- do shutdown instead of reboot (bnc#782252)
+- 0.3.5
+
+---

Old:

  webyast-system-0.3.4.gem

New:

  webyast-system-0.3.5.gem



Other differences:
--
++ rubygem-webyast-system.spec ++
--- /var/tmp/diff_new_pack.ttHDA7/_old  2012-10-23 19:45:38.0 +0200
+++ /var/tmp/diff_new_pack.ttHDA7/_new  2012-10-23 19:45:38.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-webyast-system
-Version:0.3.4
+Version:0.3.5
 Release:0
 %define mod_name webyast-system
 %define mod_full_name %{mod_name}-%{version}


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-webyast-system for openSUSE:Factory

2012-10-12 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-system for 
openSUSE:Factory checked in at 2012-10-12 14:27:48

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-system (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-system.new (New)


Package is rubygem-webyast-system, Maintainer is r...@suse.com

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-system/rubygem-webyast-system.changes
2012-09-25 10:54:37.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-system.new/rubygem-webyast-system.changes
   2012-10-12 14:33:36.0 +0200
@@ -1,0 +2,6 @@
+Thu Oct  4 07:45:44 UTC 2012 - lsle...@suse.cz
+
+- removed DelayedJob dependency
+- 0.3.4
+
+---

Old:

  webyast-system-0.3.3.gem

New:

  webyast-system-0.3.4.gem



Other differences:
--
++ rubygem-webyast-system.spec ++
--- /var/tmp/diff_new_pack.zjCdaF/_old  2012-10-12 14:33:37.0 +0200
+++ /var/tmp/diff_new_pack.zjCdaF/_new  2012-10-12 14:33:37.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-webyast-system
-Version:0.3.3
+Version:0.3.4
 Release:0
 %define mod_name webyast-system
 %define mod_full_name %{mod_name}-%{version}


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-webyast-system for openSUSE:Factory

2012-06-10 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-system for 
openSUSE:Factory checked in at 2012-06-10 23:20:55

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-system (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-system.new (New)


Package is rubygem-webyast-system, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-system/rubygem-webyast-system.changes
2012-05-07 22:51:48.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-system.new/rubygem-webyast-system.changes
   2012-06-10 23:20:59.0 +0200
@@ -1,0 +2,12 @@
+Tue May 29 12:07:11 UTC 2012 - lsle...@suse.cz
+
+- updated database.yml for Rails 3.2
+- 0.3.2
+
+--
+Wed May 23 12:34:03 UTC 2012 - lsle...@suse.cz
+
+- Ruby 1.9 fixes
+- 0.3.1
+
+---

Old:

  webyast-system-0.1.gem

New:

  webyast-system-0.3.2.gem



Other differences:
--
++ rubygem-webyast-system.spec ++
--- /var/tmp/diff_new_pack.0LOhuB/_old  2012-06-10 23:21:00.0 +0200
+++ /var/tmp/diff_new_pack.0LOhuB/_new  2012-06-10 23:21:00.0 +0200
@@ -1,34 +1,44 @@
 #
-# spec file for package webyast-reboot
+# spec file for package rubygem-webyast-system
 #
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An Open Source License is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
-# norootforbuild
 Name:   rubygem-webyast-system
-Version:0.1
+Version:0.3.2
 Release:0
 %define mod_name webyast-system
 %define mod_full_name %{mod_name}-%{version}
 #
-Group:  Productivity/Networking/Web/Utilities
-License:GPL-2.0
 #
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rubygems_with_buildroot_patch
 %rubygems_requires
+BuildRequires:  rubygem-restility
 BuildRequires: webyast-base = 0.3
 BuildRequires: webyast-base-testsuite
-BuildRequires: rubygem-restility
 PreReq:webyast-base = 0.3
 
+Obsoletes:  webyast-reboot-ui
+Obsoletes:  webyast-reboot-ws
+Provides:   webyast-reboot-ui
+Provides:   webyast-reboot-ws
 
 Summary:WebYaST - reboot/shutdown
+License:GPL-2.0
+Group:  Productivity/Networking/Web/Utilities
 Source: %{mod_full_name}.gem
 Source1:org.opensuse.yast.modules.yapi.system.policy
 
@@ -36,6 +46,7 @@
 Summary:RDoc documentation for %{mod_name}
 Group:  Development/Languages/Ruby
 Requires:   %{name} = %{version}
+
 %description doc
 Documentation generated at gem installation time.
 Usually in RDoc and RI formats.
@@ -136,5 +147,4 @@
 %defattr(-,root,root,-)
 %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
 
-
 %changelog


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-webyast-system for openSUSE:Factory

2012-05-07 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-system for 
openSUSE:Factory checked in at 2012-05-07 22:51:44

Comparing /work/SRC/openSUSE:Factory/rubygem-webyast-system (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-webyast-system.new (New)


Package is rubygem-webyast-system, Maintainer is 

Changes:

New Changes file:

--- /dev/null   2012-05-03 01:24:41.895590051 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-system.new/rubygem-webyast-system.changes
   2012-05-07 22:51:48.0 +0200
@@ -0,0 +1,128 @@
+---
+Mon Oct 24 15:43:11 UTC 2011 - sch...@suse.com
+
+- Merging client and service
+- 0.3.0 
+
+---
+Fri Oct 14 11:54:38 UTC 2011 - vle...@suse.com
+
+- use ConsoleKit DBUS interface for reboot and shutdown instead of HAL
+- added support for new PolicyKit 
+- 0.2.4
+
+---
+Mon May 16 07:27:25 UTC 2011 - sch...@novell.com
+
+- Added new right org.opensuse.yast.system.power-management.policy
+  (bnc #687807)
+- 0.2.3 
+
+---
+Tue Apr 12 13:33:13 UTC 2011 - sch...@novell.com
+
+- new caching
+- 0.2.2
+
+---
+Thu Nov 25 14:14:10 UTC 2010 - lsle...@suse.cz
+
+- fixed loosing permissions after upgrade from WebYaST-1.0
+  (bnc#645310)
+- 0.2.1
+
+---
+Mon Aug 23 14:31:21 UTC 2010 - jreidin...@novell.com
+
+- add url to spec file (bnc#625537)
+- 0.2.0
+
+---
+Mon May 10 14:00:56 UTC 2010 - jreidin...@novell.com
+
+- expect 403 when there is not enough permission in test suite
+- 0.1.4
+
+---
+Fri Apr 30 14:40:35 UTC 2010 - jreidin...@novell.com
+
+- fix spec file consistency (bnc#560061)
+- 0.1.3
+
+---
+Fri Apr 23 16:41:07 CEST 2010 - mvid...@suse.cz
+
+-  Make a fresh connection to DBus, to be able to reboot
+   after DBus is restarted. Otherwise Broken pipe would be reported
+   (bnc#582759)
+- 0.1.2
+
+---
+Fri Apr 23 12:33:37 UTC 2010 - jreidin...@novell.com
+
+- add license headers (bnc#586620)
+- 0.1.1
+
+---
+Wed Apr 14 18:12:48 UTC 2010 - lsle...@suse.cz
+
+- run the tests during RPM build (bnc#594343)
+- 0.1.0
+
+---
+Mon Mar 29 13:42:15 CEST 2010 - mvid...@suse.cz
+
+- RPM-Provide WebYaST(org.opensuse.yast.modules.FOO) (bnc#583561)
+
+---
+Mon Jan 25 21:25:38 CET 2010 - mvid...@suse.cz
+
+- renamed yast2-webservice-system to webyast-reboot-ws
+
+---
+Fri Nov 13 15:19:07 CET 2009 - jreidin...@suse.cz
+
+- remove deprecated provisions
+- clarify license (kkaempf)
+- 0.0.8
+
+---
+Fri Oct 30 08:05:04 CET 2009 - lsle...@suse.cz
+
+- fixed restdoc packaging
+- 0.0.7
+
+---
+Thu Oct 29 17:28:38 CET 2009 - lsle...@suse.cz
+
+- GPLv2 license
+- 0.0.6
+
+---
+Thu Oct  8 09:43:42 CEST 2009 - lsle...@suse.cz
+
+- build restdoc documentation during package build
+- 0.0.5
+
+---
+Tue Oct  6 13:08:27 CEST 2009 - lsle...@suse.cz
+
+- don't remove the access rights on package update
+- 0.0.4
+
+---
+Tue Oct  6 11:49:59 CEST 2009 - lsle...@suse.cz
+
+- a bug in logging lead to a wrong status message (bnc#543760)
+- 0.0.3
+
+---
+Tue Sep 29 11:49:44 CEST 2009 - sch...@suse.de
+
+- version 0.0.2 
+
+---
+Tue Aug 11 08:39:41 CEST 2009 - lsle...@suse.cz
+
+- initial version
+

Old:

  rubygem-webyast-reboot.changes
  rubygem-webyast-reboot.spec

New:

  rubygem-webyast-system.changes
  rubygem-webyast-system.spec



Other differences:
--
++ rubygem-webyast-system.spec ++
#
# spec file for package webyast-reboot
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all