Hello community,

here is the log from the commit of package openwsman for openSUSE:Factory 
checked in at 2014-05-15 19:12:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openwsman (Old)
 and      /work/SRC/openSUSE:Factory/.openwsman.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openwsman"

Changes:
--------
--- /work/SRC/openSUSE:Factory/openwsman/openwsman.changes      2014-03-21 
13:52:19.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.openwsman.new/openwsman.changes 2014-05-15 
19:13:00.000000000 +0200
@@ -1,0 +2,8 @@
+Wed May  7 06:48:38 UTC 2014 - [email protected]
+
+- Split off server-side Ruby plugin to openwsman-server-plugin-ruby
+
+- Alias systemd service openwsman to openwsmand, add respective
+  rcopenwsman and rcopenwsmand commands.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ openwsman.spec ++++++
--- /var/tmp/diff_new_pack.vKfCGP/_old  2014-05-15 19:13:01.000000000 +0200
+++ /var/tmp/diff_new_pack.vKfCGP/_new  2014-05-15 19:13:01.000000000 +0200
@@ -197,6 +197,16 @@
 Openwsman Server and service libraries
 
 
+%package server-plugin-ruby
+Requires:       openwsman-server
+Summary:        Openwsman Server Plugin for Ruby extensions
+Group:          System/Management
+
+%description server-plugin-ruby
+This package provides a Openwsman server plugin to write a
+WS-Management resource handler in Ruby
+
+
 %package python
 Summary:        Python bindings for openwsman client API
 Group:          Development/Libraries/Python
@@ -339,14 +349,17 @@
 rm -f $RPM_BUILD_ROOT%{_libdir}/openwsman/authenticators/*.la
 [ -d $RPM_BUILD_ROOT%{ruby_sitelib} ] && rm -f 
$RPM_BUILD_ROOT%{ruby_sitelib}/openwsmanplugin.rb
 [ -d $RPM_BUILD_ROOT%{ruby_vendorlib} ] && rm -f 
$RPM_BUILD_ROOT%{ruby_vendorlib}/openwsmanplugin.rb
-%if 0%{?suse_version} <= 1220
+%if 0%{?has_systemd}
+install -D -m 644 %{S:4} $RPM_BUILD_ROOT%{_unitdir}/%{name}.service
+# alias openwsman and openwsmand
+ln -s %{_unitdir}/%{name}.service $RPM_BUILD_ROOT%{_unitdir}/%{name}d.service
+# rcopenwsman, rcopenwsmand
+ln -sf %{_sbindir}/service $RPM_BUILD_ROOT%{_sbindir}/rc%{name}
+ln -sf %{_sbindir}/rcopenwsman $RPM_BUILD_ROOT%{_sbindir}/rc%{name}d
+%else
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d
 install -m 755 build/etc/init/openwsmand.sh 
$RPM_BUILD_ROOT%{_sysconfdir}/init.d/openwsmand
 ln -sf %{_sysconfdir}/init.d/openwsmand $RPM_BUILD_ROOT%{_sbindir}/rcopenwsmand
-%else
-# rcopenwsmand for systemd
-ln -sf %{_sbindir}/service $RPM_BUILD_ROOT%{_sbindir}/rcopenwsman
-ln -sf %{_sbindir}/rcopenwsman $RPM_BUILD_ROOT%{_sbindir}/rcopenwsmand
 %endif
 install -m 644 etc/openwsman.conf $RPM_BUILD_ROOT%{_sysconfdir}/openwsman
 install -m 644 etc/openwsman_client.conf 
$RPM_BUILD_ROOT%{_sysconfdir}/openwsman
@@ -355,9 +368,6 @@
 %if 0%{?suse_version} > 1010
 install -D -m 644 %{S:3} 
$RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/openwsman
 %endif
-%if 0%{?has_systemd}
-install -D -m 644 %{S:4} $RPM_BUILD_ROOT%{_unitdir}/%{name}.service
-%endif
 
 %post -n libwsman1 -p /sbin/ldconfig
 
@@ -476,10 +486,13 @@
 %if 0%{?suse_version} > 1010
 %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/openwsman
 %endif
-%if 0%{?suse_version} <= 1210
-%attr(0755,root,root) %{_sysconfdir}/init.d/openwsmand
+%if 0%{?has_systemd}
+%{_unitdir}/%{name}.service
+%{_unitdir}/%{name}d.service
+%{_sbindir}/rc%{name}
+%{_sbindir}/rc%{name}d
 %else
-%{_sbindir}/rcopenwsman
+%attr(0755,root,root) %{_sysconfdir}/init.d/openwsmand
 %endif
 # backwards compatibility
 %{_sbindir}/rcopenwsmand
@@ -490,11 +503,13 @@
 %dir %{_libdir}/openwsman/plugins
 %{_libdir}/openwsman/plugins/*.so
 %{_libdir}/openwsman/plugins/*.so.*
+%exclude %{_libdir}/openwsman/plugins/*ruby*.so*
 %{_sbindir}/openwsmand
 %{_libdir}/libwsman_server.so.*
-%if 0%{?has_systemd}
-%{_unitdir}/%{name}.service
-%endif
+
+%files server-plugin-ruby
+%defattr(-,root,root)
+%{_libdir}/openwsman/plugins/*ruby*.so
 
 %files -n libwsman_clientpp1
 %defattr(-,root,root)

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

Reply via email to