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.000000000 +0200
@@ -0,0 +1,128 @@
+-------------------------------------------------------------------
+Mon Oct 24 15:43:11 UTC 2011 - [email protected]
+
+- Merging client and service
+- 0.3.0 
+
+-------------------------------------------------------------------
+Fri Oct 14 11:54:38 UTC 2011 - [email protected]
+
+- 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 - [email protected]
+
+- Added new right org.opensuse.yast.system.power-management.policy
+  (bnc #687807)
+- 0.2.3 
+
+-------------------------------------------------------------------
+Tue Apr 12 13:33:13 UTC 2011 - [email protected]
+
+- new caching
+- 0.2.2
+
+-------------------------------------------------------------------
+Thu Nov 25 14:14:10 UTC 2010 - [email protected]
+
+- fixed loosing permissions after upgrade from WebYaST-1.0
+  (bnc#645310)
+- 0.2.1
+
+-------------------------------------------------------------------
+Mon Aug 23 14:31:21 UTC 2010 - [email protected]
+
+- add url to spec file (bnc#625537)
+- 0.2.0
+
+-------------------------------------------------------------------
+Mon May 10 14:00:56 UTC 2010 - [email protected]
+
+- expect 403 when there is not enough permission in test suite
+- 0.1.4
+
+-------------------------------------------------------------------
+Fri Apr 30 14:40:35 UTC 2010 - [email protected]
+
+- fix spec file consistency (bnc#560061)
+- 0.1.3
+
+-------------------------------------------------------------------
+Fri Apr 23 16:41:07 CEST 2010 - [email protected]
+
+-  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 - [email protected]
+
+- add license headers (bnc#586620)
+- 0.1.1
+
+-------------------------------------------------------------------
+Wed Apr 14 18:12:48 UTC 2010 - [email protected]
+
+- run the tests during RPM build (bnc#594343)
+- 0.1.0
+
+-------------------------------------------------------------------
+Mon Mar 29 13:42:15 CEST 2010 - [email protected]
+
+- RPM-Provide WebYaST(org.opensuse.yast.modules.FOO) (bnc#583561)
+
+-------------------------------------------------------------------
+Mon Jan 25 21:25:38 CET 2010 - [email protected]
+
+- renamed yast2-webservice-system to webyast-reboot-ws
+
+-------------------------------------------------------------------
+Fri Nov 13 15:19:07 CET 2009 - [email protected]
+
+- remove deprecated provisions
+- clarify license (kkaempf)
+- 0.0.8
+
+-------------------------------------------------------------------
+Fri Oct 30 08:05:04 CET 2009 - [email protected]
+
+- fixed restdoc packaging
+- 0.0.7
+
+-------------------------------------------------------------------
+Thu Oct 29 17:28:38 CET 2009 - [email protected]
+
+- GPLv2 license
+- 0.0.6
+
+-------------------------------------------------------------------
+Thu Oct  8 09:43:42 CEST 2009 - [email protected]
+
+- build restdoc documentation during package build
+- 0.0.5
+
+-------------------------------------------------------------------
+Tue Oct  6 13:08:27 CEST 2009 - [email protected]
+
+- don't remove the access rights on package update
+- 0.0.4
+
+-------------------------------------------------------------------
+Tue Oct  6 11:49:59 CEST 2009 - [email protected]
+
+- a bug in logging lead to a wrong status message (bnc#543760)
+- 0.0.3
+
+-------------------------------------------------------------------
+Tue Sep 29 11:49:44 CEST 2009 - [email protected]
+
+- version 0.0.2 
+
+-------------------------------------------------------------------
+Tue Aug 11 08:39:41 CEST 2009 - [email protected]
+
+- 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 modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


# norootforbuild
Name:           rubygem-webyast-system
Version:        0.1
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:  webyast-base >= 0.3
BuildRequires:  webyast-base-testsuite
BuildRequires:  rubygem-restility
PreReq:         webyast-base >= 0.3


Summary:        WebYaST - reboot/shutdown
Source:         %{mod_full_name}.gem
Source1:        org.opensuse.yast.modules.yapi.system.policy

%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
Summary:        Test suite for %{mod_name}
Group:          Development/Languages/Ruby
Requires:       %{name} = %{version}

%description
WebYaST - Plugin providing REST based interface for system reboot/shutdown.

Authors:
--------
Ladislav Slezak <[email protected]>

%description testsuite
Testsuite for webyast-reboot package.

%prep

%build

%check
%webyast_run_plugin_tests

%install
%gem_install %{S:0}

# Policies
mkdir -p $RPM_BUILD_ROOT/usr/share/%{webyast_polkit_dir}
install -m 0644 %SOURCE1 $RPM_BUILD_ROOT/usr/share/%{webyast_polkit_dir}

%webyast_build_restdoc public/system/restdoc

# remove empty public
rm -rf 
$RPM_BUILD_ROOT/%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/public

%webyast_build_plugin_assets

%clean
%{__rm} -rf $RPM_BUILD_ROOT

# posttrans is used instead of post so it ensures the rights are
# granted even after upgrading from old package (before renaming) (bnc#645310)
# (see https://fedoraproject.org/wiki/Packaging/ScriptletSnippets#Syntax )
%posttrans
# 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
/usr/sbin/grantwebyastrights --user %{webyast_user} --action grant --policy 
org.freedesktop.consolekit.system.stop-multiple-users >& /dev/null || true
/usr/sbin/grantwebyastrights --user %{webyast_user} --action grant --policy 
org.freedesktop.consolekit.system.restart >& /dev/null || true
/usr/sbin/grantwebyastrights --user %{webyast_user} --action grant --policy 
org.freedesktop.consolekit.system.restart-multiple-users >& /dev/null || true

## granting all permissions for root
/usr/sbin/grantwebyastrights --user root --action grant --policy 
org.freedesktop.consolekit.system.stop >& /dev/null || true
/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

%webyast_update_assets

%postun
# 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
  /usr/sbin/grantwebyastrights --user %{webyast_user} --action revoke --policy 
org.freedesktop.consolekit.system.stop >& /dev/null || true
  /usr/sbin/grantwebyastrights --user %{webyast_user} --action revoke --policy 
org.freedesktop.consolekit.system.stop-multiple-users >& /dev/null || true
  /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

%webyast_remove_assets

%files 
%defattr(-,root,root,-)
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
%{_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

# precompiled assets
%dir %{webyast_dir}/public/assets
%{webyast_dir}/public/assets/*

# restdoc documentation
%dir %{webyast_dir}/public/system
%{webyast_dir}/public/system/restdoc

%dir /usr/share/%{webyast_polkit_dir}
%attr(644,root,root) %config 
/usr/share/%{webyast_polkit_dir}/org.opensuse.yast.modules.yapi.system.policy

%files doc
%defattr(-,root,root,-)
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/

%files testsuite
%defattr(-,root,root,-)
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test


%changelog



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

Reply via email to