commit rubygem-webyast-eulas for openSUSE:Factory

2013-08-27 Thread h_root
Hello community,

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

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


Package is rubygem-webyast-eulas

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-eulas/rubygem-webyast-eulas.changes  
2013-02-05 13:06:53.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-eulas.new/rubygem-webyast-eulas.changes
 2013-08-27 21:22:15.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.13
+
+---
+Mon Apr 22 13:49:04 UTC 2013 - lsle...@suse.cz
+
+- support for the new polkit (Javascript rules file) (bnc#816478)
+- 0.3.12
+
+---

Old:

  webyast-eulas-0.3.11.gem

New:

  40-default-webyast-eulas.rules
  webyast-eulas-0.3.13.gem



Other differences:
--
++ rubygem-webyast-eulas.spec ++
--- /var/tmp/diff_new_pack.iafMW9/_old  2013-08-27 21:22:16.0 +0200
+++ /var/tmp/diff_new_pack.iafMW9/_new  2013-08-27 21:22:16.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-webyast-eulas
-Version:0.3.11
+Version:0.3.13
 Release:0
 %define mod_name webyast-eulas
 %define mod_full_name %{mod_name}-%{version}
@@ -43,6 +43,7 @@
 Source1:eulas-sles11.yml
 Source2:org.opensuse.yast.modules.yapi.licenses.policy
 Source3:eulas-opensuse12_3.yml
+Source4:40-default-webyast-eulas.rules
 
 #
 %define plugin_name eulas
@@ -86,14 +87,18 @@
 %webyast_run_plugin_tests
 
 %post
+%if %suse_version  1230
 /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
+
 %install
 
 #
@@ -125,6 +130,10 @@
 # Policies
 mkdir -p $RPM_BUILD_ROOT/usr/share/%{webyast_polkit_dir}
 cp %{SOURCE2} $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 %SOURCE4 $RPM_BUILD_ROOT/etc/polkit-1/rules.d/
+%endif
 
 # remove empty public
 rm -rf 
$RPM_BUILD_ROOT/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/public
@@ -145,7 +154,6 @@
 %{webyast_dir}/public/assets/*
 %dir /usr/share/%{webyast_user}
 %dir /usr/share/%{webyast_user}/%{plugin_name}
-%dir %{webyast_vardir}
 %dir %{webyast_vardir}/%{plugin_name}
 /usr/share/%{webyast_user}/%{plugin_name}/licenses
 %dir /etc/webyast/
@@ -153,6 +161,9 @@
 %attr(-,%{webyast_user},%{webyast_user}) %dir 
%{webyast_vardir}/%{plugin_name}/accepted-licenses
 %dir /usr/share/%{webyast_polkit_dir}
 %attr(644,root,root) %config 
/usr/share/%{webyast_polkit_dir}/org.opensuse.yast.modules.yapi.licenses.policy
+%if %suse_version = 1230
+/etc/polkit-1/rules.d/40-default-webyast-eulas.rules
+%endif
 
 %restart_script_name
 

++ 40-default-webyast-eulas.rules ++
// default permissions for root user

polkit.addRule(function(action, subject) {
  if (action.id == org.opensuse.yast.modules.yapi.licenses.accept
 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



commit rubygem-webyast-eulas for openSUSE:Factory

2013-02-05 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-eulas for 
openSUSE:Factory checked in at 2013-02-05 13:06:51

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


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

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-eulas/rubygem-webyast-eulas.changes  
2012-12-03 11:32:06.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-eulas.new/rubygem-webyast-eulas.changes
 2013-02-05 13:06:53.0 +0100
@@ -1,0 +2,12 @@
+Tue Feb  5 09:07:41 UTC 2013 - lsle...@suse.cz
+
+- added openSUSE 12.3 license (removed 11.1)
+- 0.3.11
+
+---
+Wed Dec 12 15:26:46 UTC 2012 - lsle...@suse.cz
+
+- restart webyast after package update
+- 0.3.10
+
+---

Old:

  eulas-opensuse11_1.yml
  webyast-eulas-0.3.9.gem

New:

  eulas-opensuse12_3.yml
  webyast-eulas-0.3.11.gem



Other differences:
--
++ rubygem-webyast-eulas.spec ++
--- /var/tmp/diff_new_pack.n2qkWt/_old  2013-02-05 13:06:54.0 +0100
+++ /var/tmp/diff_new_pack.n2qkWt/_new  2013-02-05 13:06:54.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-webyast-eulas
 #
-# 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-eulas
-Version:0.3.9
+Version:0.3.11
 Release:0
 %define mod_name webyast-eulas
 %define mod_full_name %{mod_name}-%{version}
@@ -27,9 +27,9 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rubygems_with_buildroot_patch
 %rubygems_requires
-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-licenses-ui  %{version}
 Obsoletes:  webyast-licenses-ws  %{version}
@@ -42,7 +42,7 @@
 Source: %{mod_full_name}.gem
 Source1:eulas-sles11.yml
 Source2:org.opensuse.yast.modules.yapi.licenses.policy
-Source3:eulas-opensuse11_1.yml
+Source3:eulas-opensuse12_3.yml
 
 #
 %define plugin_name eulas
@@ -79,6 +79,7 @@
 %prep
 
 %build
+%create_restart_script
 
 %check
 # run the testsuite
@@ -88,7 +89,7 @@
 /usr/sbin/grantwebyastrights --user root --action grant  /dev/null
 /usr/sbin/grantwebyastrights --user %{webyast_user} --action grant  /dev/null
 
-%webyast_update_assets
+%restart_webyast
 
 %postun
 %webyast_remove_assets
@@ -112,7 +113,7 @@
  *)
   # use a sles11 license by default
   SOURCE_CONFIG=%SOURCE1
-  rm -r 
$RPM_BUILD_ROOT/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/config/resources/licenses/openSUSE-11.1
+  rm -r 
$RPM_BUILD_ROOT/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/config/resources/licenses/openSUSE-12.3
   ;;
 esac
 mv 
$RPM_BUILD_ROOT/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/config/resources/licenses
 $RPM_BUILD_ROOT/usr/share/%{webyast_user}/%{plugin_name}/
@@ -153,6 +154,8 @@
 %dir /usr/share/%{webyast_polkit_dir}
 %attr(644,root,root) %config 
/usr/share/%{webyast_polkit_dir}/org.opensuse.yast.modules.yapi.licenses.policy
 
+%restart_script_name
+
 %files doc
 %defattr(-,root,root,-)
 %doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/

++ eulas-opensuse11_1.yml - eulas-opensuse12_3.yml ++
--- /work/SRC/openSUSE:Factory/rubygem-webyast-eulas/eulas-opensuse11_1.yml 
2012-04-23 09:17:04.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-eulas.new/eulas-opensuse12_3.yml
2013-02-05 13:06:53.0 +0100
@@ -1,4 +1,4 @@
 # This file needs to be located under /etc/webyast/ or /etc/webyast/vendor/
 # (the 'vendor' directory has higher priority).
 licenses:
-  - openSUSE-11.1
+  - openSUSE-12.3


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



commit rubygem-webyast-eulas for openSUSE:Factory

2012-12-03 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-eulas for 
openSUSE:Factory checked in at 2012-12-03 11:32:03

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


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

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-eulas/rubygem-webyast-eulas.changes  
2012-10-23 19:45:24.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-eulas.new/rubygem-webyast-eulas.changes
 2012-12-03 11:32:06.0 +0100
@@ -1,0 +2,26 @@
+Fri Nov 23 13:33:56 UTC 2012 - lsle...@suse.cz
+
+- do not display or delimiter when there is no Back link
+  (bnc#790672)
+- 0.3.9
+
+---
+Wed Nov  7 09:27:23 UTC 2012 - lsle...@suse.cz
+
+- make the radio button labels clickable
+- 0.3.8
+
+---
+Thu Nov  1 09:00:02 UTC 2012 - lsle...@suse.cz
+
+- 0.3.7
+
+---
+Mon Oct 29 09:16:28 UTC 2012 - lsle...@suse.cz
+
+- display the module in the control panel (after clicking All
+  link) (bnc#604628)
+- do not ask to confirm already accepted licenses
+- renamed icon (to not conflict with registration module)
+
+---

Old:

  webyast-eulas-0.3.6.gem

New:

  webyast-eulas-0.3.9.gem



Other differences:
--
++ rubygem-webyast-eulas.spec ++
--- /var/tmp/diff_new_pack.usKWIi/_old  2012-12-03 11:32:07.0 +0100
+++ /var/tmp/diff_new_pack.usKWIi/_new  2012-12-03 11:32:07.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-webyast-eulas
-Version:0.3.6
+Version:0.3.9
 Release:0
 %define mod_name webyast-eulas
 %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-eulas for openSUSE:Factory

2012-10-23 Thread h_root
Hello community,

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

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


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

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-eulas/rubygem-webyast-eulas.changes  
2012-10-12 14:25:54.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-eulas.new/rubygem-webyast-eulas.changes
 2012-10-23 19:45:24.0 +0200
@@ -1,0 +2,18 @@
+Mon Oct 15 15:40:45 UTC 2012 - lsle...@suse.cz
+
+- fixed license text formatting (bnc#783720)
+- unified term license (replace licence - license)
+- 0.3.6
+
+---
+Fri Oct 12 15:40:37 UTC 2012 - lsle...@suse.cz
+
+- 0.3.5
+
+---
+Thu Oct 11 09:21:44 UTC 2012 - lsle...@suse.cz
+
+- improved not accepted license message (use gettext plural form,
+  better wording) (bnc#783736)
+
+---

Old:

  webyast-eulas-0.3.4.gem

New:

  webyast-eulas-0.3.6.gem



Other differences:
--
++ rubygem-webyast-eulas.spec ++
--- /var/tmp/diff_new_pack.HzvnkM/_old  2012-10-23 19:45:28.0 +0200
+++ /var/tmp/diff_new_pack.HzvnkM/_new  2012-10-23 19:45:28.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-webyast-eulas
-Version:0.3.4
+Version:0.3.6
 Release:0
 %define mod_name webyast-eulas
 %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-eulas for openSUSE:Factory

2012-10-12 Thread h_root
Hello community,

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

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


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

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-eulas/rubygem-webyast-eulas.changes  
2012-09-25 10:49:26.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-eulas.new/rubygem-webyast-eulas.changes
 2012-10-12 14:25:54.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-eulas-0.3.3.gem

New:

  webyast-eulas-0.3.4.gem



Other differences:
--
++ rubygem-webyast-eulas.spec ++
--- /var/tmp/diff_new_pack.0LjVmb/_old  2012-10-12 14:25:55.0 +0200
+++ /var/tmp/diff_new_pack.0LjVmb/_new  2012-10-12 14:25:55.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-webyast-eulas
-Version:0.3.3
+Version:0.3.4
 Release:0
 %define mod_name webyast-eulas
 %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-eulas for openSUSE:Factory

2012-06-10 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-eulas for 
openSUSE:Factory checked in at 2012-06-10 20:52:47

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


Package is rubygem-webyast-eulas, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-webyast-eulas/rubygem-webyast-eulas.changes  
2012-04-23 09:17:04.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-eulas.new/rubygem-webyast-eulas.changes
 2012-06-10 21:53:06.0 +0200
@@ -1,0 +2,12 @@
+Tue May 29 09:59:44 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:

  org.opensuse.yast.modules.yapi.license.policy
  webyast-eulas-0.1.gem

New:

  org.opensuse.yast.modules.yapi.licenses.policy
  webyast-eulas-0.3.2.gem



Other differences:
--
++ rubygem-webyast-eulas.spec ++
--- /var/tmp/diff_new_pack.FchSm9/_old  2012-06-10 21:53:08.0 +0200
+++ /var/tmp/diff_new_pack.FchSm9/_new  2012-06-10 21:53:08.0 +0200
@@ -1,55 +1,68 @@
 #
-# spec file for package yast2-webservice-eula (Version 0.0.1)
+# spec file for package rubygem-webyast-eulas
 #
-# Copyright (c) 2008-09 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-eulas
-Version:0.1
+Version:0.3.2
 Release:0
 %define mod_name webyast-eulas
 %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-licenses-ui
+Obsoletes:  webyast-licenses-ws
+Provides:   webyast-licenses-ui
+Provides:   webyast-licenses-ws
+
 Summary:WebYaST - license management service
+License:GPL-2.0
+Group:  Productivity/Networking/Web/Utilities
 Source: %{mod_full_name}.gem
 Source1:eulas-sles11.yml
-Source2:org.opensuse.yast.modules.yapi.license.policy
+Source2:org.opensuse.yast.modules.yapi.licenses.policy
 Source3:eulas-opensuse11_1.yml
 
 #
-%define plugin_name licenses
+%define plugin_name eulas
 #
 
 %package doc
 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.
 
 %package testsuite
-Group:Development/Languages/Ruby
 Requires: %{name} = %{version}
 Requires: webyast-base-testsuite
 Summary:  Testsuite for webyast-eulas package
+Group:  Development/Languages/Ruby
 
 %description
 WebYaST - Plugin providing REST based interface to handle user acceptation of 
EULAs.
@@ -139,7 +152,7 @@
 %config /etc/webyast/eulas.yml
 %attr(-,%{webyast_user},%{webyast_user}) %dir 
%{webyast_vardir}/%{plugin_name}/accepted-licenses
 %dir /usr/share/%{webyast_polkit_dir}
-%attr(644,root,root) %config 
/usr/share/%{webyast_polkit_dir}/org.opensuse.yast.modules.yapi.license.policy
+%attr(644,root,root) %config 
/usr/share/%{webyast_polkit_dir}/org.opensuse.yast.modules.yapi.licenses.policy
 
 %files doc
 %defattr(-,root,root,-)

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