Hello community,

here is the log from the commit of package sblim-cmpi-power_supply_profile for 
openSUSE:Factory checked in at 2013-01-30 09:39:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sblim-cmpi-power_supply_profile (Old)
 and      /work/SRC/openSUSE:Factory/.sblim-cmpi-power_supply_profile.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sblim-cmpi-power_supply_profile", Maintainer is ""

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/sblim-cmpi-power_supply_profile/sblim-cmpi-power_supply_profile.changes
  2012-06-01 07:23:56.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.sblim-cmpi-power_supply_profile.new/sblim-cmpi-power_supply_profile.changes
     2013-01-30 09:39:09.000000000 +0100
@@ -1,0 +2,11 @@
+Mon Jan 28 11:28:50 UTC 2013 - [email protected]
+
+- Suppression of output message of systemctl
+- Correction the name of sfcb's service file 
+
+-------------------------------------------------------------------
+Tue Jan  8 10:55:51 UTC 2013 - [email protected]
+
+- adapt to systemd for openSUSE > 12.1 (bnc#796900)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ sblim-cmpi-power_supply_profile.spec ++++++
--- /var/tmp/diff_new_pack.t720Z1/_old  2013-01-30 09:39:11.000000000 +0100
+++ /var/tmp/diff_new_pack.t720Z1/_new  2013-01-30 09:39:11.000000000 +0100
@@ -1,35 +1,46 @@
 #
-# spec file for package sblim-cmpi-power_supply_profile (Version 1.8.9)
+# spec file for package sblim-cmpi-power_supply_profile
 #
-# Copyright (c) 2007 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) 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
+# 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:           sblim-cmpi-power_supply_profile
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  konkretcmpi
 BuildRequires:  libtool
-BuildRequires:  sblim-cmpi-devel
-BuildRequires:  sblim-sfcb
 BuildRequires:  sblim-cmpi-base
+BuildRequires:  sblim-cmpi-devel
 BuildRequires:  sblim-cmpiutil-devel
+BuildRequires:  sblim-sfcb
 Url:            http://sblim.sourceforge.net/
 Summary:        CMPI CIM provider for power supply profile
+License:        EPL-1.0
+Group:          System/Management
 Version:        1.0.0
 Release:        0
-License:        EPL-1.0
 
-Group:          System/Management
 Source:         %{name}-%{version}.tar.gz
 #PreReq:         /usr/sbin/provider-register.sh
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Requires:       sblim-sfcb sblim-cmpi-base
+Requires:       sblim-cmpi-base
+Requires:       sblim-sfcb
+%if 0%{?suse_version} >= 1210
+BuildRequires:  systemd
+%{?systemd_requires}
+%endif
 
 %description
 CMPI CIM provider for power supply profile
@@ -54,7 +65,6 @@
 %{__rm} -f $RPM_BUILD_ROOT/%_libdir/cmpi/*.{a,la}
 %{__rm} -f $RPM_BUILD_ROOT/%_libdir/liblinux_*.{a,la}
 
-
 %clean
 
 # If upgrading/not new install/not removing, deregister old version
@@ -65,7 +75,11 @@
   sfcbunstage -n root/cimv2 linux-power-supply-profile-interop.mof
   sfcbunstage -n root/interop linux-power-supply-profile-interop.mof
   sfcbrepos -f
+%if 0%{?suse_version} >= 1210
+  systemctl condrestart sfcbd.service >/dev/null 2>&1 || :
+%else
   /etc/init.d/sfcb condrestart
+%endif
 fi
 
 %post
@@ -75,7 +89,11 @@
 sfcbstage -n root/cimv2 
%{_datadir}/mof/%{name}/linux-power-supply-profile-interop.mof
 sfcbstage -n root/interop 
%{_datadir}/mof/%{name}/linux-power-supply-profile-interop.mof
 sfcbrepos -f
-/etc/init.d/sfcb condrestart
+%if 0%{?suse_version} >= 1210
+  systemctl condrestart sfcbd.service >/dev/null 2>&1 || :
+%else
+  /etc/init.d/sfcb condrestart
+%endif
 
 %preun
 # If removing (not upgrading) then de-register, before the files are gone
@@ -85,7 +103,11 @@
   sfcbunstage -n root/cimv2 linux-power-supply-profile-interop.mof
   sfcbunstage -n root/interop linux-power-supply-profile-interop.mof
   sfcbrepos -f
+%if 0%{?suse_version} >= 1210
+  systemctl condrestart sfcbd.service >/dev/null 2>&1 || :
+%else
   /etc/init.d/sfcb condrestart
+%endif
 fi
 
 %postun -p /sbin/ldconfig

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

Reply via email to