- Update to version 1.4.0:

OBS-URL: https://build.opensuse.org/package/show/Base:System/libstoragemgmt?expand=0&rev=30
This commit is contained in:
Martin Pluskal 2017-03-24 11:20:44 +00:00 committed by Git OBS Bridge
parent 85fc21ab24
commit 1a0e20d55f
4 changed files with 69 additions and 34 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:984cfcf30eaa12687122241ff68edd9d74047db511df001ac8af8c4297f64c61
size 924527

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a820f6bf987dc72498f25cd0bfa226a922ccdfa9a445c1c7c430e3a4cd29d7ee
size 946730

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Fri Mar 24 10:32:50 UTC 2017 - mpluskal@suse.com
- Update to version 1.4.0:
* Add Python3 support.
* Add support of lmiwbem.
* Allow plugin test to be run concurrently.
* Bug fixes:
+ Fix megaraid plugin for dell PERC.
+ Fix local disk rotation speed query on NVMe disk.
+ Fix lsmcli incorrect try-expect on local disk query.
+ Fix all the gcc compile warnings.
+ Fix the obsolete usage of AC_OUTPUT in configure.ac.
* Library adds:
+ Query serial of local disk:
lsm_local_disk_serial_num_get()/lsm.LocalDisk.serial_num_get()
+ Query LED status of local disk:
lsm_local_disk_led_status_get()/lsm.LocalDisk.led_status_get()
+ Query link speed of local disk:
lsm_local_disk_link_speed_get()/lsm.LocalDisk.link_speed_get()
- Changes for version 1.3.5:
* Bug fixes:
+ Fix anon_uid/anon_gid handling.
+ Fix HPSA plugin on capabilities, system status, system mode.
+ Fix running lsmcli on python 2.6.
+ Fix missing vpd83 optional property in C library.
* Enhancements:
+ Rewrite C simulator plugin to support state saving.
-------------------------------------------------------------------
Sun Nov 27 21:06:22 UTC 2016 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libstoragemgmt
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,11 +16,10 @@
#
%bcond_with test
%define libname %{name}1
%bcond_with test
Name: libstoragemgmt
Version: 1.3.4
Version: 1.4.0
Release: 0
Summary: Storage array management library
License: LGPL-2.1+
@ -34,8 +33,21 @@ BuildRequires: pkgconfig
BuildRequires: python-M2Crypto
BuildRequires: python-argparse
BuildRequires: python-devel
BuildRequires: python-lmiwbem
BuildRequires: python-pyudev
BuildRequires: python-pywbem
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(udev)
Requires: python-%{name}
Requires: python-%{name}-clibs
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%systemd_requires
%py_requires
%if %{with test}
BuildRequires: chrpath
BuildRequires: libtool
@ -44,23 +56,12 @@ BuildRequires: procps
BuildRequires: valgrind
BuildRequires: pkgconfig(check)
%endif
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(udev)
Requires: python-%{name}
Requires: python-%{name}-clibs
%if 0%{?suse_version} <= 1320
# For SLE12 and openSUSE 13.2
BuildRequires: libyajl-devel
%else
BuildRequires: pkgconfig(yajl)
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%systemd_requires
%py_requires
%description
The libStorageMgmt library will provide a vendor agnostic open source storage
@ -114,9 +115,9 @@ The python-%{name}-clibs package contains python C extentions for %{name}.
%package smis-plugin
Summary: Files for SMI-S generic array support for %{name}
Group: System/Libraries
Requires: python-pywbem
Requires(post): %{name} = %{version}
Requires(postun): %{name} = %{version}
Requires: python-pywbem
BuildArch: noarch
%py_requires
@ -127,9 +128,9 @@ array support.
%package netapp-plugin
Summary: Files for NetApp array support for %{name}
Group: System/Libraries
Requires: python-M2Crypto
Requires(post): %{name} = %{version}
Requires(postun): %{name} = %{version}
Requires: python-M2Crypto
BuildArch: noarch
%py_requires
@ -255,7 +256,7 @@ fi
%post
%service_add_post %{name}.service
# Create tmp socket file on package new install.
if [ $1 -eq 1 -a -x /usr/bin/systemd-tmpfiles ]; then
if [ $1 -eq 1 -a -x %{_bindir}/systemd-tmpfiles ]; then
%if 0%{?suse_version} <= 1320
systemd-tmpfiles --create %{_tmpfilesdir}/%{name}.conf || :
%else
@ -272,78 +273,83 @@ fi
%post smis-plugin
if [ $1 -eq 1 ]; then
# New install.
/usr/bin/systemctl try-restart ${name}.service || :
%{_bindir}/systemctl try-restart ${name}.service || :
fi
%postun smis-plugin
if [ $1 -eq 0 ]; then
# Remove
/usr/bin/systemctl try-restart ${name}.service || :
%{_bindir}/systemctl try-restart ${name}.service || :
fi
# Need to restart lsmd if plugin is new installed or removed.
%post netapp-plugin
if [ $1 -eq 1 ]; then
# New install.
/usr/bin/systemctl try-restart ${name}.service || :
%{_bindir}/systemctl try-restart ${name}.service || :
fi
%postun netapp-plugin
if [ $1 -eq 0 ]; then
# Remove
/usr/bin/systemctl try-restart ${name}.service || :
%{_bindir}/systemctl try-restart ${name}.service || :
fi
# Need to restart lsmd if plugin is new installed or removed.
%post targetd-plugin
if [ $1 -eq 1 ]; then
# New install.
/usr/bin/systemctl try-restart ${name}.service || :
%{_bindir}/systemctl try-restart ${name}.service || :
fi
%postun targetd-plugin
if [ $1 -eq 0 ]; then
# Remove
/usr/bin/systemctl try-restart ${name}.service || :
%{_bindir}/systemctl try-restart ${name}.service || :
fi
# Need to restart lsmd if plugin is new installed or removed.
%post nstor-plugin
if [ $1 -eq 1 ]; then
# New install.
/usr/bin/systemctl try-restart ${name}.service || :
%{_bindir}/systemctl try-restart ${name}.service || :
fi
%postun nstor-plugin
if [ $1 -eq 0 ]; then
# Remove
/usr/bin/systemctl try-restart ${name}.service || :
%{_bindir}/systemctl try-restart ${name}.service || :
fi
# Need to restart lsmd if plugin is new installed or removed.
%post megaraid-plugin
if [ $1 -eq 1 ]; then
# New install.
/usr/bin/systemctl try-restart ${name}.service || :
%{_bindir}/systemctl try-restart ${name}.service || :
fi
%postun megaraid-plugin
if [ $1 -eq 0 ]; then
# Remove
/usr/bin/systemctl try-restart ${name}.service || :
%{_bindir}/systemctl try-restart ${name}.service || :
fi
# Need to restart lsmd if plugin is new installed or removed.
%post hpsa-plugin
if [ $1 -eq 1 ]; then
# New install.
/usr/bin/systemctl try-restart ${name}.service || :
%{_bindir}/systemctl try-restart ${name}.service || :
fi
%postun hpsa-plugin
if [ $1 -eq 0 ]; then
# Remove
/usr/bin/systemctl try-restart ${name}.service || :
%{_bindir}/systemctl try-restart ${name}.service || :
fi
%post udev
@ -366,7 +372,7 @@ fi
%dir %{_sysconfdir}/lsm/pluginconf.d
%{_sbindir}/rclibstoragemgmt
%ghost %dir /run/lsm
%ghost /run/lsm/ipc
%ghost %dir /run/lsm/ipc
%files udev
%defattr(-,root,root)