commit rubygem-webyast-ntp for openSUSE:Factory

2013-08-27 Thread h_root
Hello community,

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

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


Package is "rubygem-webyast-ntp"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-webyast-ntp/rubygem-webyast-ntp.changes  
2013-08-23 11:04:23.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-ntp.new/rubygem-webyast-ntp.changes 
2013-08-27 21:22:21.0 +0200
@@ -1,0 +2,6 @@
+Mon Aug 26 08:19:43 UTC 2013 - lsle...@suse.cz
+
+- restart WebYast when the plugin is uninstalled
+- 0.3.9
+
+---

Old:

  webyast-ntp-0.3.8.gem

New:

  webyast-ntp-0.3.9.gem



Other differences:
--
++ rubygem-webyast-ntp.spec ++
--- /var/tmp/diff_new_pack.bBBPyG/_old  2013-08-27 21:22:22.0 +0200
+++ /var/tmp/diff_new_pack.bBBPyG/_new  2013-08-27 21:22:22.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-webyast-ntp
-Version:0.3.8
+Version:0.3.9
 Release:0
 %define mod_name webyast-ntp
 %define mod_full_name %{mod_name}-%{version}
@@ -116,6 +116,9 @@
 
 %restart_webyast
 
+%postun
+%webyast_plugin_postun
+
 %files 
 %defattr(-,root,root,-)
 %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem


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



commit rubygem-webyast-ntp for openSUSE:Factory

2013-08-23 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-ntp for 
openSUSE:Factory checked in at 2013-08-23 11:04:22

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


Package is "rubygem-webyast-ntp"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-webyast-ntp/rubygem-webyast-ntp.changes  
2013-02-05 13:12:21.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-ntp.new/rubygem-webyast-ntp.changes 
2013-08-23 11:04:23.0 +0200
@@ -1,0 +2,6 @@
+Mon Apr 22 13:49:04 UTC 2013 - lsle...@suse.cz
+
+- support for the new polkit (Javascript rules file) (bnc#816478)
+- 0.3.8
+
+---

Old:

  webyast-ntp-0.3.7.gem

New:

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



Other differences:
--
++ rubygem-webyast-ntp.spec ++
--- /var/tmp/diff_new_pack.PHlZdH/_old  2013-08-23 11:04:24.0 +0200
+++ /var/tmp/diff_new_pack.PHlZdH/_new  2013-08-23 11:04:24.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-webyast-ntp
 #
-# 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-ntp
-Version:0.3.7
+Version:0.3.8
 Release:0
 %define mod_name webyast-ntp
 %define mod_full_name %{mod_name}-%{version}
@@ -48,6 +48,7 @@
 Source: %{mod_full_name}.gem
 Source1:NTP.pm
 Source2:org.opensuse.yast.modules.yapi.ntp.policy
+Source3:40-default-webyast-ntp.rules
 
 %package doc
 Summary:RDoc documentation for %{mod_name}
@@ -93,6 +94,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 %SOURCE3 $RPM_BUILD_ROOT/etc/polkit-1/rules.d/
+%endif
 
 %webyast_build_restdoc
 
@@ -103,9 +108,12 @@
 %{__rm} -rf $RPM_BUILD_ROOT
 
 %post
+%if %suse_version < 1230
 # granting all permissions for the webservice user and root
 /usr/sbin/grantwebyastrights --user root --action grant > /dev/null
 /usr/sbin/grantwebyastrights --user %{webyast_user} --action grant > /dev/null
+%endif
+
 %restart_webyast
 
 %files 
@@ -121,6 +129,9 @@
 %dir /usr/share/YaST2/modules/YaPI/
 %attr(644,root,root) /usr/share/YaST2/modules/YaPI/NTP.pm
 %attr(644,root,root) 
/usr/share/%{webyast_polkit_dir}/org.opensuse.yast.modules.yapi.ntp.policy
+%if %suse_version >= 1230
+/etc/polkit-1/rules.d/40-default-webyast-ntp.rules
+%endif
 
 %restart_script_name
 

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

polkit.addRule(function(action, subject) {
  if ((action.id == "org.opensuse.yast.modules.yapi.ntp.synchronize"
|| action.id == "org.opensuse.yast.modules.yapi.ntp.setserver"
) && (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



commit rubygem-webyast-ntp for openSUSE:Factory

2013-02-05 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-ntp for 
openSUSE:Factory checked in at 2013-02-05 13:12:18

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


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

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-webyast-ntp/rubygem-webyast-ntp.changes  
2012-10-12 14:26:06.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-ntp.new/rubygem-webyast-ntp.changes 
2013-02-05 13:12:21.0 +0100
@@ -1,0 +2,12 @@
+Tue Dec 18 10:52:14 UTC 2012 - lsle...@suse.cz
+
+- added rubygem-webyast-rake-tasks dependencies
+- 0.3.7
+
+---
+Wed Dec 12 15:34:05 UTC 2012 - lsle...@suse.cz
+
+- restart webyast after package update
+- 0.3.6
+
+---

Old:

  webyast-ntp-0.3.5.gem

New:

  webyast-ntp-0.3.7.gem



Other differences:
--
++ rubygem-webyast-ntp.spec ++
--- /var/tmp/diff_new_pack.SpSNtg/_old  2013-02-05 13:12:24.0 +0100
+++ /var/tmp/diff_new_pack.SpSNtg/_new  2013-02-05 13:12:24.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-webyast-ntp
-Version:0.3.5
+Version:0.3.7
 Release:0
 %define mod_name webyast-ntp
 %define mod_full_name %{mod_name}-%{version}
@@ -27,9 +27,11 @@
 BuildRequires:  rubygems_with_buildroot_patch
 %rubygems_requires
 BuildRequires:  rubygem-restility
-BuildRequires:  webyast-base >= 0.3
+BuildRequires:  rubygem-webyast-rake-tasks >= 0.3.5
+BuildRequires:  webyast-base >= 0.3.31
 BuildRequires:  webyast-base-testsuite
-PreReq: webyast-base >= 0.3
+PreReq: webyast-base >= 0.3.31
+PreReq: rubygem-webyast-rake-tasks >= 0.3.5
 
 Obsoletes:  webyast-ntp-ws < %{version}
 Provides:   webyast-ntp-ws = %{version}
@@ -76,6 +78,7 @@
 %prep
 
 %build
+%create_restart_script
 
 %check
 # run the testsuite
@@ -103,6 +106,7 @@
 # granting all permissions for the webservice user and root
 /usr/sbin/grantwebyastrights --user root --action grant > /dev/null
 /usr/sbin/grantwebyastrights --user %{webyast_user} --action grant > /dev/null
+%restart_webyast
 
 %files 
 %defattr(-,root,root,-)
@@ -118,6 +122,8 @@
 %attr(644,root,root) /usr/share/YaST2/modules/YaPI/NTP.pm
 %attr(644,root,root) 
/usr/share/%{webyast_polkit_dir}/org.opensuse.yast.modules.yapi.ntp.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-ntp for openSUSE:Factory

2012-10-12 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-ntp for 
openSUSE:Factory checked in at 2012-10-12 14:23:37

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


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

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-webyast-ntp/rubygem-webyast-ntp.changes  
2012-09-25 10:51:39.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-ntp.new/rubygem-webyast-ntp.changes 
2012-10-12 14:26:06.0 +0200
@@ -1,0 +2,6 @@
+Thu Oct  4 07:45:44 UTC 2012 - lsle...@suse.cz
+
+- removed DelayedJob dependency
+- 0.3.5
+
+---

Old:

  webyast-ntp-0.3.4.gem

New:

  webyast-ntp-0.3.5.gem



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

2012-09-25 Thread h_root
Hello community,

here is the log from the commit of package rubygem-webyast-ntp for 
openSUSE:Factory checked in at 2012-09-25 10:51:38

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


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

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-webyast-ntp/rubygem-webyast-ntp.changes  
2012-06-10 23:20:51.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-ntp.new/rubygem-webyast-ntp.changes 
2012-09-25 10:51:39.0 +0200
@@ -1,0 +2,6 @@
+Thu Aug 16 11:00:43 UTC 2012 - lsle...@suse.cz
+
+- restdoc fixes
+- 0.3.4
+
+---

Old:

  webyast-ntp-0.3.3.gem

New:

  webyast-ntp-0.3.4.gem



Other differences:
--
++ rubygem-webyast-ntp.spec ++
--- /var/tmp/diff_new_pack.ksJ4Uy/_old  2012-09-25 10:51:40.0 +0200
+++ /var/tmp/diff_new_pack.ksJ4Uy/_new  2012-09-25 10:51:40.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-webyast-ntp
-Version:0.3.3
+Version:0.3.4
 Release:0
 %define mod_name webyast-ntp
 %define mod_full_name %{mod_name}-%{version}
@@ -31,8 +31,8 @@
 BuildRequires:  webyast-base-testsuite
 PreReq: webyast-base >= 0.3
 
-Obsoletes:  webyast-ntp-ws
-Provides:   webyast-ntp-ws
+Obsoletes:  webyast-ntp-ws < %{version}
+Provides:   webyast-ntp-ws = %{version}
 
 #for YaPI needs ntp
 Requires:   ntp
@@ -91,14 +91,10 @@
 mkdir -p $RPM_BUILD_ROOT/usr/share/%{webyast_polkit_dir}
 cp %{SOURCE2} $RPM_BUILD_ROOT/usr/share/%{webyast_polkit_dir}
 
-%webyast_build_restdoc public/ntp/restdoc
-
-# remove empty public
-rm -rf 
$RPM_BUILD_ROOT/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/public
+%webyast_build_restdoc
 
 #just a dummy locale cause not translation are available
 mkdir -p 
$RPM_BUILD_ROOT/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/locale
-%webyast_build_plugin_assets
 
 %clean
 %{__rm} -rf $RPM_BUILD_ROOT
@@ -107,10 +103,6 @@
 # granting all permissions for the webservice user and root
 /usr/sbin/grantwebyastrights --user root --action grant > /dev/null
 /usr/sbin/grantwebyastrights --user %{webyast_user} --action grant > /dev/null
-%webyast_update_assets
-
-%postun
-%webyast_remove_assets
 
 %files 
 %defattr(-,root,root,-)
@@ -119,14 +111,6 @@
 %exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
 %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
 
-# precompiled assets
-%dir %{webyast_dir}/public/assets
-%{webyast_dir}/public/assets/*
-
-# restdoc documentation
-%dir %{webyast_dir}/public/ntp
-%{webyast_dir}/public/ntp/restdoc
-
 # ntp require only yast2-dbus server, so it must ensure that directory exist
 %dir /usr/share/YaST2/
 %dir /usr/share/YaST2/modules/


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



commit rubygem-webyast-ntp for openSUSE:Factory

2012-06-10 Thread h_root
Hello community,

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

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


Package is "rubygem-webyast-ntp", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-webyast-ntp/rubygem-webyast-ntp.changes  
2012-04-23 09:17:36.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-webyast-ntp.new/rubygem-webyast-ntp.changes 
2012-06-10 23:20:51.0 +0200
@@ -1,0 +2,24 @@
+Tue May 29 11:41:58 UTC 2012 - lsle...@suse.cz
+
+- updated database.yml for Rails 3.2
+- 0.3.3
+
+---
+Wed May 23 14:26:30 UTC 2012 - lsle...@suse.cz
+
+- fixed testsuite
+- 0.3.2
+
+---
+Wed May 23 12:34:03 UTC 2012 - lsle...@suse.cz
+
+- Ruby 1.9 fixes
+- 0.3.1
+
+---
+Mon Oct 24 15:32:35 UTC 2011 - sch...@suse.com
+
+- Merging client and service
+- 0.3.0 
+
+---

Old:

  webyast-ntp-0.1.gem

New:

  webyast-ntp-0.3.3.gem



Other differences:
--
++ rubygem-webyast-ntp.spec ++
--- /var/tmp/diff_new_pack.F0Kt50/_old  2012-06-10 23:20:53.0 +0200
+++ /var/tmp/diff_new_pack.F0Kt50/_new  2012-06-10 23:20:53.0 +0200
@@ -1,38 +1,48 @@
 #
-# spec file for package webyast-ntp
+# spec file for package rubygem-webyast-ntp
 #
-# 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-ntp
-Version:0.1
+Version:0.3.3
 Release:0
 %define mod_name webyast-ntp
 %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-ntp-ws
+Provides:   webyast-ntp-ws
+
 #for YaPI needs ntp
 Requires:  ntp
 #for YaPI hwclock
 Requires:  util-linux
 
-URL:http://en.opensuse.org/Portal:WebYaST
+Url:http://en.opensuse.org/Portal:WebYaST
 Summary:WebYaST - NTP 
+License:GPL-2.0
+Group:  Productivity/Networking/Web/Utilities
 Source: %{mod_full_name}.gem
 Source1:NTP.pm
 Source2:org.opensuse.yast.modules.yapi.ntp.policy
@@ -41,6 +51,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.
@@ -99,7 +110,7 @@
 %webyast_update_assets
 
 %postun
-%webyast_update_assets
+%webyast_remove_assets
 
 %files 
 %defattr(-,root,root,-)


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