Hello community, here is the log from the commit of package sblim-cmpi-fsvol for openSUSE:Factory checked in at Fri Aug 7 23:33:18 CEST 2009. -------- --- sblim-cmpi-fsvol/sblim-cmpi-fsvol.changes 2009-01-13 19:43:07.000000000 +0100 +++ sblim-cmpi-fsvol/sblim-cmpi-fsvol.changes 2009-06-08 16:17:01.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Jun 8 16:15:30 CEST 2009 - mhrusecky@suse.cz + +- fixed registration with tog-pegasus +- updated to version 1.5.0 + * Eclipse Public Licence + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- sblim-cmpi-fsvol-1.4.4.tar.bz2 New: ---- sblim-cmpi-fsvol-1.5.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sblim-cmpi-fsvol.spec ++++++ --- /var/tmp/diff_new_pack.DqOyx2/_old 2009-08-07 23:30:01.000000000 +0200 +++ /var/tmp/diff_new_pack.DqOyx2/_new 2009-08-07 23:30:01.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package sblim-cmpi-fsvol (Version 1.4.4) +# spec file for package sblim-cmpi-fsvol (Version 1.5.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -20,16 +20,16 @@ Name: sblim-cmpi-fsvol BuildRequires: gcc-c++ sblim-cmpi-base-devel sblim-cmpi-devel sblim-indication_helper-devel sblim-sfcb sblim-testsuite -Version: 1.4.4 -Release: 90 +Version: 1.5.0 +Release: 1 Group: System/Management -License: IBM Public License +License: Eclipse Public License BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: sblim-cmpi-base, cim-server -PreReq: /usr/bin/loadmof.sh, /usr/bin/rmmof.sh Url: http://sblim.wiki.sourceforge.net/ Source: http://prdownloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2 Summary: SBLIM File System & Volume Mgmt. Instrumentation for CMPI +#!BuildIgnore: tog-pegasus %description The Filesystem & Volume Management Instrumentation allows you to get @@ -56,29 +56,31 @@ %clean %{__rm} -rf %{buildroot} +%define PEGASUS_MOF CIM_UnixLocalFileSystem,CIM_NFS,CIM_HostedFileSystem,CIM_BootOSFromFS %pre -# If upgrading/not new install/not removing, deregister old version -if [ $1 -gt 1 ]; then - if [ -x /usr/sbin/sfcbd -a -x %{_datadir}/%{name}/provider-register.sh ]; then - %{_datadir}/%{name}/provider-register.sh -t sfcb -d -r %{_datadir}/%{name}/*.registration -m %{_datadir}/%{name}/*.mof - fi +if [ "$1" -gt 1 ]; then + d=%{_datadir}/%{name} + $d/provider-register.sh -d -r $d/*.registration -m $d/*.mof fi %post # compile MOF /sbin/ldconfig -if [ -x /usr/sbin/sfcbd ]; then - %{_datadir}/%{name}/provider-register.sh -t sfcb -r %{_datadir}/%{name}/*.registration -m %{_datadir}/%{name}/*.mof +# Register Schema and Provider - this is higly provider specific +# tog-pegasus needs some schemes registered first +if [ -x /usr/bin/peg-loadmof.sh ]; then + peg-loadmof.sh -n root/cimv2 /usr/share/mof/cim-current/*/{%{PEGASUS_MOF}}.mof + rctog-pegasus try-restart fi -/usr/bin/loadmof.sh -n root/cimv2 %{_datadir}/%{name}/Linux_Fsvol.mof ||: +# and then following script can handle registration for various providers +d=%{_datadir}/%{name} +$d/provider-register.sh -r $d/*.registration -m $d/*.mof %preun if [ "$1" = "0" ]; then - if [ -x /usr/sbin/sfcbd -a -x %{_datadir}/%{name}/provider-register.sh ]; then - %{_datadir}/%{name}/provider-register.sh -t sfcb -d -r %{_datadir}/%{name}/*.registration -m %{_datadir}/%{name}/*.mof - fi - /usr/bin/rmmof.sh -n root/cimv2 %{_datadir}/%{name}/Linux_Fsvol.mof ||: + d=%{_datadir}/%{name} + $d/provider-register.sh -d -r $d/*.registration -m $d/*.mof fi %postun -p /sbin/ldconfig ++++++ sblim-cmpi-fsvol-1.4.4.tar.bz2 -> sblim-cmpi-fsvol-1.5.0.tar.bz2 ++++++ ++++ 36364 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org