Blame SPECS/libstoragemgmt.spec

549066
%bcond_with     test
549066
549066
Name:           libstoragemgmt
b9d800
Version:        1.8.6
b9d800
Release:        1%{?dist}
549066
Summary:        Storage array management library
549066
Group:          System Environment/Libraries
549066
License:        LGPLv2+
549066
URL:            https://github.com/libstorage/libstoragemgmt
549066
Source0:        https://github.com/libstorage/libstoragemgmt/releases/download/%{version}/%{name}-%{version}.tar.gz
549066
Patch0:         BZ_1710776_change_run_dir.patch
549066
Requires:       python3-%{name}
549066
549066
# Netapp 7 mode plugin is no more.
b9d800
Obsoletes:      %{name}-netapp-plugin <= 1.6.2-10
549066
549066
BuildRequires:  gcc gcc-c++
549066
BuildRequires:  autoconf automake libtool libxml2-devel check-devel perl-interpreter
549066
BuildRequires:  openssl-devel
549066
BuildRequires:  glib2-devel
549066
BuildRequires:  systemd
549066
BuildRequires:  bash-completion
549066
BuildRequires:  libconfig-devel
549066
BuildRequires:  systemd-devel
549066
BuildRequires:  procps
549066
BuildRequires:  sqlite-devel
549066
BuildRequires:  python3-six
549066
BuildRequires:  python3-devel
549066
549066
%{?systemd_requires}
549066
BuildRequires:  systemd systemd-devel
549066
549066
BuildRequires:  chrpath
549066
%ifarch %{valgrind_arches}
549066
BuildRequires:  valgrind
549066
%endif
549066
549066
%description
549066
The libStorageMgmt library will provide a vendor agnostic open source storage
549066
application programming interface (API) that will allow management of storage
549066
arrays.  The library includes a command line interface for interactive use and
549066
scripting (command lsmcli).  The library also has a daemon that is used for
549066
executing plug-ins in a separate process (lsmd).
549066
549066
%package        devel
549066
Summary:        Development files for %{name}
549066
Group:          Development/Libraries
549066
Requires:       %{name}%{?_isa} = %{version}-%{release}
549066
549066
%description    devel
549066
The %{name}-devel package contains libraries and header files for
549066
developing applications that use %{name}.
549066
549066
%package        -n python3-%{name}
549066
Summary:        Python 3 client libraries and plug-in support for %{name}
549066
Group:          System Environment/Libraries
549066
Requires:       %{name} = %{version}-%{release}
549066
BuildArch:      noarch
549066
Requires:       python3-%{name}-clibs
549066
# If the existing netapp plugin is installed, we need to meet it's requirement
549066
# of having the correct version of this package functionality installed too as
549066
# the update occurs first, before the obsolete removes the obsoleted package.
549066
Provides:       python3-%{name} = 1.6.2-9.el8
549066
%{?python_provide:%python_provide python3-%{name}}
549066
549066
%description    -n python3-%{name}
549066
This contains python 3 client libraries as well as python framework
549066
support and open source plug-ins written in python 3.
549066
549066
%package        -n python3-%{name}-clibs
549066
Summary:        Python 3 C extension module for %{name}
549066
Group:          System Environment/Libraries
549066
Requires:       %{name}%{?_isa} = %{version}-%{release}
549066
%{?python_provide:%python_provide python3-%{name}-clibs}
549066
549066
%description    -n python3-%{name}-clibs
549066
This package contains python 3 client C extension libraries.
549066
549066
%package        smis-plugin
549066
Summary:        Files for SMI-S generic array support for %{name}
549066
Group:          System Environment/Libraries
549066
BuildRequires:  python3-pywbem
549066
Requires:       python3-pywbem
549066
BuildArch:      noarch
549066
Provides:       %{name}-ibm-v7k-plugin = 2:%{version}-%{release}
549066
Obsoletes:      %{name}-ibm-v7k-plugin <= 2:0.1.0-3
549066
Requires:       python3-%{name} = %{version}
549066
Requires(post): python3-%{name} = %{version}
549066
Requires(postun): python3-%{name} = %{version}
549066
549066
549066
%description    smis-plugin
549066
The %{name}-smis-plugin package contains plug-in for generic SMI-S array
549066
support.
549066
549066
%package        targetd-plugin
549066
Summary:        Files for targetd array support for %{name}
549066
Group:          System Environment/Libraries
549066
Requires:       python3-%{name} = %{version}
549066
Requires(post): python3-%{name} = %{version}
549066
Requires(postun): python3-%{name} = %{version}
549066
BuildArch:      noarch
549066
549066
%description    targetd-plugin
549066
The %{name}-targetd-plugin package contains plug-in for targetd array
549066
support.
549066
549066
549066
%package        nstor-plugin
549066
Summary:        Files for NexentaStor array support for %{name}
549066
Group:          System Environment/Libraries
549066
Requires:       python3-%{name} = %{version}
549066
Requires(post): python3-%{name} = %{version}
549066
Requires(postun): python3-%{name} = %{version}
549066
BuildArch:      noarch
549066
549066
%description    nstor-plugin
549066
The %{name}-nstor-plugin package contains plug-in for NexentaStor array
549066
support.
549066
549066
%package        udev
549066
Summary:        Udev files for %{name}
549066
Group:          System Environment/Base
549066
549066
%description    udev
549066
The %{name}-udev package contains udev rules and helper utilities for
549066
uevents generated by the kernel.
549066
549066
%package        megaraid-plugin
549066
Summary:        Files for LSI MegaRAID support for %{name}
549066
Group:          System Environment/Libraries
549066
Requires:       python3-%{name} = %{version}
549066
Requires(post): python3-%{name} = %{version}
549066
Requires(postun): python3-%{name} = %{version}
549066
BuildArch:      noarch
549066
549066
%description    megaraid-plugin
549066
The %{name}-megaraid-plugin package contains the plugin for LSI
549066
MegaRAID storage management via storcli.
549066
549066
%package        hpsa-plugin
549066
Summary:        Files for HP SmartArray support for %{name}
549066
Group:          System Environment/Libraries
549066
Requires:       python3-%{name} = %{version}
549066
Requires(post): python3-%{name} = %{version}
549066
Requires(postun): python3-%{name} = %{version}
549066
BuildArch:      noarch
549066
549066
%description    hpsa-plugin
549066
The %{name}-hpsa-plugin package contains the plugin for HP
549066
SmartArray storage management via hpssacli.
549066
549066
%package        arcconf-plugin
549066
Summary:        Files for Microsemi Adaptec and Smart Family support for %{name}
549066
Group:          System Environment/Libraries
549066
Requires:       python3-%{name} = %{version}
549066
Requires(post): python3-%{name} = %{version}
549066
Requires(postun): python3-%{name} = %{version}
549066
BuildArch:      noarch
549066
549066
%description    arcconf-plugin
549066
The %{name}-arcconf-plugin package contains the plugin for Microsemi
549066
Adaptec RAID and Smart Family Controller storage management.
549066
549066
%package        nfs-plugin
549066
Summary:        Files for NFS local filesystem support for %{name}
549066
Group:          System Environment/Libraries
549066
Requires:       python3-%{name} = %{version}
549066
Requires:       %{name}-nfs-plugin-clibs = %{version}
549066
Requires:       nfs-utils
549066
Requires(post): python3-%{name} = %{version}
549066
Requires(postun): python3-%{name} = %{version}
549066
BuildArch:      noarch
549066
549066
%description    nfs-plugin
549066
The nfs-plugin package contains plug-in for local NFS exports support.
549066
549066
%package        nfs-plugin-clibs
549066
Summary:        Python C extension module for %{name} NFS plugin
549066
Group:          System Environment/Libraries
549066
Requires:       %{name}%{?_isa} = %{version}-%{release}
549066
549066
%description    nfs-plugin-clibs
549066
The %{name}-nfs-plugin-clibs package contains python C extension for %{name}
549066
NFS plugin.
549066
549066
549066
%package        local-plugin
549066
Summary:        Files for local pseudo plugin of %{name}
549066
Group:          System Environment/Libraries
549066
Requires:       python3-%{name} = %{version}
549066
Requires(post): python3-%{name} = %{version}
549066
Requires(postun): python3-%{name} = %{version}
549066
BuildArch:      noarch
549066
549066
%description    local-plugin
549066
The nfs-plugin package contains plug-in for local NFS exports support.
549066
LibstorageMgmt local plugin allows user to manage locally storage system
549066
without caring which real plugin(s) should be used.
549066
549066
%prep
549066
%autosetup -p1
549066
549066
%build
549066
./autogen.sh
549066
549066
%configure PYTHON=%{__python3} --with-python3 --without-ontap --disable-static \
549066
%if %{without test}
549066
  --without-test
549066
%endif
549066
549066
V=1 make %{?_smp_mflags}
549066
549066
%install
549066
rm -rf %{buildroot}
549066
549066
make install DESTDIR=%{buildroot}
549066
549066
find %{buildroot} -name '*.la' -exec rm -f {} ';'
549066
549066
#Files for udev handling
549066
mkdir -p %{buildroot}/%{_udevrulesdir}
549066
install -m 644 tools/udev/90-scsi-ua.rules \
549066
    %{buildroot}/%{_udevrulesdir}/90-scsi-ua.rules
549066
install -m 755 tools/udev/scan-scsi-target \
549066
    %{buildroot}/%{_udevrulesdir}/../scan-scsi-target
549066
549066
# Fix shebangs using the proper %%{__python3} macro
549066
pathfix.py -pni "%{__python3}" \
549066
    %{buildroot}/usr/bin/nfs_lsmplugin \
549066
    %{buildroot}/usr/bin/lsmcli \
549066
    %{buildroot}/usr/bin/arcconf_lsmplugin \
549066
    %{buildroot}/usr/bin/targetd_lsmplugin \
549066
    %{buildroot}/usr/bin/sim_lsmplugin \
549066
    %{buildroot}/usr/bin/nstor_lsmplugin \
549066
    %{buildroot}/usr/bin/megaraid_lsmplugin \
549066
    %{buildroot}/usr/bin/hpsa_lsmplugin \
549066
    %{buildroot}/usr/bin/local_lsmplugin \
549066
    %{buildroot}/usr/bin/smispy_lsmplugin
549066
549066
549066
%if 0%{with test}
549066
%check
549066
if ! make check
549066
then
549066
  cat test-suite.log || true
549066
  exit 1
549066
fi
549066
%endif
549066
549066
%pre
549066
getent group libstoragemgmt >/dev/null || groupadd -r libstoragemgmt
549066
getent passwd libstoragemgmt >/dev/null || \
549066
    useradd -r -g libstoragemgmt -d /var/run/lsm -s /sbin/nologin \
549066
    -c "daemon account for libstoragemgmt" libstoragemgmt
549066
549066
%post
549066
/sbin/ldconfig
549066
# Create tmp socket folders.
549066
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
549066
%systemd_post %{name}.service
549066
549066
%preun
549066
%systemd_preun %{name}.service
549066
549066
%postun
549066
/sbin/ldconfig
549066
%systemd_postun %{name}.service
549066
549066
# Need to restart lsmd if plugin is new installed or removed.
549066
%post smis-plugin
549066
if [ $1 -eq 1 ]; then
549066
    # New install.
549066
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
549066
fi
549066
549066
%postun smis-plugin
549066
if [ $1 -eq 0 ]; then
549066
    # Remove
549066
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
549066
fi
549066
549066
# Need to restart lsmd if plugin is new installed or removed.
549066
%post targetd-plugin
549066
if [ $1 -eq 1 ]; then
549066
    # New install.
549066
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
549066
fi
549066
549066
%postun targetd-plugin
549066
if [ $1 -eq 0 ]; then
549066
    # Remove
549066
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
549066
fi
549066
549066
# Need to restart lsmd if plugin is new installed or removed.
549066
%post nstor-plugin
549066
if [ $1 -eq 1 ]; then
549066
    # New install.
549066
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
549066
fi
549066
549066
%postun nstor-plugin
549066
if [ $1 -eq 0 ]; then
549066
    # Remove
549066
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
549066
fi
549066
549066
# Need to restart lsmd if plugin is new installed or removed.
549066
%post megaraid-plugin
549066
if [ $1 -eq 1 ]; then
549066
    # New install.
549066
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
549066
fi
549066
%postun megaraid-plugin
549066
if [ $1 -eq 0 ]; then
549066
    # Remove
549066
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
549066
fi
549066
549066
# Need to restart lsmd if plugin is new installed or removed.
549066
%post hpsa-plugin
549066
if [ $1 -eq 1 ]; then
549066
    # New install.
549066
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
549066
fi
549066
%postun hpsa-plugin
549066
if [ $1 -eq 0 ]; then
549066
    # Remove
549066
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
549066
fi
549066
549066
# Need to restart lsmd if plugin is new installed or removed.
549066
%post arcconf-plugin
549066
if [ $1 -eq 1 ]; then
549066
    # New install.
549066
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
549066
fi
549066
%postun arcconf-plugin
549066
if [ $1 -eq 0 ]; then
549066
    # Remove
549066
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
549066
fi
549066
549066
# Need to restart lsmd if plugin is new installed or removed.
549066
%post nfs-plugin
549066
if [ $1 -eq 1 ]; then
549066
    # New install.
549066
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
549066
fi
549066
%postun nfs-plugin
549066
if [ $1 -eq 0 ]; then
549066
    # Remove
549066
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
549066
fi
549066
549066
# Need to restart lsmd if plugin is new installed or removed.
549066
%post local-plugin
549066
if [ $1 -eq 1 ]; then
549066
    # New install.
549066
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
549066
fi
549066
%postun local-plugin
549066
if [ $1 -eq 0 ]; then
549066
    # Remove
549066
    /usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
549066
fi
549066
549066
%files
549066
%defattr(-,root,root,-)
549066
%doc README COPYING.LIB NEWS
549066
%{_mandir}/man1/lsmcli.1*
549066
%{_mandir}/man1/lsmd.1*
549066
%{_mandir}/man5/lsmd.conf.5*
549066
%{_libdir}/*.so.*
549066
%{_bindir}/lsmcli
549066
%{_datadir}/bash-completion/completions/lsmcli
549066
%{_bindir}/lsmd
549066
%{_bindir}/simc_lsmplugin
549066
%dir %{_sysconfdir}/lsm
549066
%dir %{_sysconfdir}/lsm/pluginconf.d
549066
%config(noreplace) %{_sysconfdir}/lsm/lsmd.conf
549066
%{_mandir}/man1/simc_lsmplugin.1*
549066
549066
%{_unitdir}/%{name}.service
549066
549066
%ghost %dir %attr(0775, root, libstoragemgmt) /run/lsm/
549066
%ghost %dir %attr(0775, root, libstoragemgmt) /run/lsm/ipc
549066
549066
%attr(0644, root, root) %{_tmpfilesdir}/%{name}.conf
549066
549066
%files devel
549066
%defattr(-,root,root,-)
549066
%{_includedir}/*
549066
%{_libdir}/*.so
549066
%{_libdir}/pkgconfig/%{name}.pc
549066
%{_mandir}/man3/lsm_*
549066
%{_mandir}/man3/libstoragemgmt*
549066
549066
%files -n python3-%{name}
549066
%dir %{python3_sitelib}/lsm
549066
%{python3_sitelib}/lsm/__init__.*
549066
%dir %{python3_sitelib}/lsm/external
549066
%{python3_sitelib}/lsm/external/*
549066
%{python3_sitelib}/lsm/_client.*
549066
%{python3_sitelib}/lsm/_common.*
549066
%{python3_sitelib}/lsm/_local_disk.*
549066
%{python3_sitelib}/lsm/_data.*
549066
%{python3_sitelib}/lsm/_iplugin.*
549066
%{python3_sitelib}/lsm/_pluginrunner.*
549066
%{python3_sitelib}/lsm/_transport.*
549066
%{python3_sitelib}/lsm/__pycache__/
549066
%{python3_sitelib}/lsm/version.*
549066
%dir %{python3_sitelib}/lsm/plugin
549066
%{python3_sitelib}/lsm/plugin/__init__.*
549066
%{python3_sitelib}/lsm/plugin/__pycache__/
549066
%dir %{python3_sitelib}/lsm/plugin/sim
549066
%{python3_sitelib}/lsm/plugin/sim/__pycache__/
549066
%{python3_sitelib}/lsm/plugin/sim/__init__.*
549066
%{python3_sitelib}/lsm/plugin/sim/simulator.*
549066
%{python3_sitelib}/lsm/plugin/sim/simarray.*
549066
%dir %{python3_sitelib}/lsm/lsmcli
549066
%{python3_sitelib}/lsm/lsmcli/__init__.*
549066
%{python3_sitelib}/lsm/lsmcli/__pycache__/
549066
%{python3_sitelib}/lsm/lsmcli/data_display.*
549066
%{python3_sitelib}/lsm/lsmcli/cmdline.*
549066
%{_bindir}/sim_lsmplugin
549066
%dir %{_libexecdir}/lsm.d
549066
%{_libexecdir}/lsm.d/find_unused_lun.py
b9d800
%{_libexecdir}/lsm.d/local_check.py
549066
%{_sysconfdir}/lsm/pluginconf.d/sim.conf
549066
%{_mandir}/man1/sim_lsmplugin.1*
549066
549066
%files -n python3-%{name}-clibs
549066
%{python3_sitelib}/lsm/_clib.*
549066
549066
%files smis-plugin
549066
%defattr(-,root,root,-)
549066
%dir %{python3_sitelib}/lsm/plugin/smispy
549066
%dir %{python3_sitelib}/lsm/plugin/smispy/__pycache__
549066
%{python3_sitelib}/lsm/plugin/smispy/__pycache__/*
549066
%{python3_sitelib}/lsm/plugin/smispy/__init__.*
549066
%{python3_sitelib}/lsm/plugin/smispy/smis.*
549066
%{python3_sitelib}/lsm/plugin/smispy/dmtf.*
549066
%{python3_sitelib}/lsm/plugin/smispy/utils.*
549066
%{python3_sitelib}/lsm/plugin/smispy/smis_common.*
549066
%{python3_sitelib}/lsm/plugin/smispy/smis_cap.*
549066
%{python3_sitelib}/lsm/plugin/smispy/smis_sys.*
549066
%{python3_sitelib}/lsm/plugin/smispy/smis_pool.*
549066
%{python3_sitelib}/lsm/plugin/smispy/smis_disk.*
549066
%{python3_sitelib}/lsm/plugin/smispy/smis_vol.*
549066
%{python3_sitelib}/lsm/plugin/smispy/smis_ag.*
549066
%{_bindir}/smispy_lsmplugin
549066
%{_mandir}/man1/smispy_lsmplugin.1*
549066
549066
%files targetd-plugin
549066
%defattr(-,root,root,-)
549066
%dir %{python3_sitelib}/lsm/plugin/targetd
549066
%dir %{python3_sitelib}/lsm/plugin/targetd/__pycache__
549066
%{python3_sitelib}/lsm/plugin/targetd/__pycache__/*
549066
%{python3_sitelib}/lsm/plugin/targetd/__init__.*
549066
%{python3_sitelib}/lsm/plugin/targetd/targetd.*
549066
%{_bindir}/targetd_lsmplugin
549066
%{_mandir}/man1/targetd_lsmplugin.1*
549066
549066
%files nstor-plugin
549066
%defattr(-,root,root,-)
549066
%dir %{python3_sitelib}/lsm/plugin/nstor
549066
%dir %{python3_sitelib}/lsm/plugin/nstor/__pycache__
549066
%{python3_sitelib}/lsm/plugin/nstor/__pycache__/*
549066
%{python3_sitelib}/lsm/plugin/nstor/__init__.*
549066
%{python3_sitelib}/lsm/plugin/nstor/nstor.*
549066
%{_bindir}/nstor_lsmplugin
549066
%{_mandir}/man1/nstor_lsmplugin.1*
549066
549066
%files udev
549066
%defattr(-,root,root,-)
549066
%{_udevrulesdir}/../scan-scsi-target
549066
%{_udevrulesdir}/90-scsi-ua.rules
549066
549066
%files megaraid-plugin
549066
%defattr(-,root,root,-)
549066
%dir %{python3_sitelib}/lsm/plugin/megaraid
549066
%dir %{python3_sitelib}/lsm/plugin/megaraid/__pycache__
549066
%{python3_sitelib}/lsm/plugin/megaraid/__pycache__/*
549066
%{python3_sitelib}/lsm/plugin/megaraid/__init__.*
549066
%{python3_sitelib}/lsm/plugin/megaraid/megaraid.*
549066
%{python3_sitelib}/lsm/plugin/megaraid/utils.*
549066
%{_bindir}/megaraid_lsmplugin
549066
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/megaraid.conf
549066
%{_mandir}/man1/megaraid_lsmplugin.1*
549066
549066
%files hpsa-plugin
549066
%defattr(-,root,root,-)
549066
%dir %{python3_sitelib}/lsm/plugin/hpsa
549066
%dir %{python3_sitelib}/lsm/plugin/hpsa/__pycache__
549066
%{python3_sitelib}/lsm/plugin/hpsa/__pycache__/*
549066
%{python3_sitelib}/lsm/plugin/hpsa/__init__.*
549066
%{python3_sitelib}/lsm/plugin/hpsa/hpsa.*
549066
%{python3_sitelib}/lsm/plugin/hpsa/utils.*
549066
%{_bindir}/hpsa_lsmplugin
549066
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/hpsa.conf
549066
%{_mandir}/man1/hpsa_lsmplugin.1*
549066
549066
%files nfs-plugin
549066
%defattr(-,root,root,-)
549066
%dir %{python3_sitelib}/lsm/plugin/nfs
549066
%dir %{python3_sitelib}/lsm/plugin/nfs/__pycache__
549066
%{python3_sitelib}/lsm/plugin/nfs/__pycache__/*
549066
%{python3_sitelib}/lsm/plugin/nfs/__init__.*
549066
%{python3_sitelib}/lsm/plugin/nfs/nfs.*
549066
%{_sysconfdir}/lsm/pluginconf.d/nfs.conf
549066
%{_bindir}/nfs_lsmplugin
549066
%{_mandir}/man1/nfs_lsmplugin.1*
549066
549066
%files nfs-plugin-clibs
549066
%{python3_sitelib}/lsm/plugin/nfs/nfs_clib.*
549066
549066
%files arcconf-plugin
549066
%defattr(-,root,root,-)
549066
%dir %{python3_sitelib}/lsm/plugin/arcconf
549066
%dir %{python3_sitelib}/lsm/plugin/arcconf/__pycache__
549066
%{python3_sitelib}/lsm/plugin/arcconf/__pycache__/*
549066
%{python3_sitelib}/lsm/plugin/arcconf/__init__.*
549066
%{python3_sitelib}/lsm/plugin/arcconf/arcconf.*
549066
%{python3_sitelib}/lsm/plugin/arcconf/utils.*
549066
%{_bindir}/arcconf_lsmplugin
549066
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/arcconf.conf
549066
%{_mandir}/man1/arcconf_lsmplugin.1*
549066
549066
%files local-plugin
549066
%defattr(-,root,root,-)
549066
%dir %{python3_sitelib}/lsm/plugin/local
549066
%dir %{python3_sitelib}/lsm/plugin/local/__pycache__
549066
%{python3_sitelib}/lsm/plugin/local/__pycache__/*
549066
%{python3_sitelib}/lsm/plugin/local/__init__.*
549066
%{python3_sitelib}/lsm/plugin/local/local.*
549066
%{_sysconfdir}/lsm/pluginconf.d/local.conf
549066
%{_bindir}/local_lsmplugin
549066
%{_mandir}/man1/local_lsmplugin.1*
549066
549066
%changelog
b9d800
* Thu Nov 5 2020 Tony Asleson <tasleson@redhat.com> - 1.8.6-1
b9d800
- Upgrade to 1.8.6 (RHBZ #1817117)
b9d800
64e4a8
* Wed Jul 1 2020 Tony Asleson <tasleson@redhat.com> - 1.8.3-2
64e4a8
- Version bump for (RHBZ #1792447)
64e4a8
549066
* Thu Feb 13 2020 Tony Asleson <tasleson@redhat.com> - 1.8.3-1
549066
- Upgrade to 1.8.3 (RHBZ #1741288)
549066
549066
* Thu Feb 13 2020 Tony Asleson <tasleson@redhat.com> - 1.8.1-4
549066
- Fix dnf groupinstall base (RHBZ #1792370)
549066
549066
* Wed Oct 30 2019 Tony Asleson <tasleson@redhat.com> - 1.8.1-3
549066
- Correct rpm -V (RHBZ #1726209)
549066
549066
* Thu Jun 13 2019 Tony Asleson <tasleson@redhat.com> - 1.8.1-2
549066
- Correct gating.yaml (RHBZ #1720284)
549066
549066
* Tue Jun 11 2019 Tony Asleson <tasleson@redhat.com> - 1.8.1-1
549066
- Obsolete the netapp plugin.
549066
549066
* Fri May 24 2019 Tony Asleson <tasleson@redhat.com> - 1.8.1-0
549066
- Upgrade to 1.8.1
549066
549066
* Wed May 22 2019 Tony Asleson <tasleson@redhat.com> - 1.6.2-11
549066
- Fix tmpfiles run directory (RHBZ #1710776)
549066
- Add nfs-utils dependency (RHBZ #1657407)
549066
549066
* Tue Oct 16 2018 Tony Asleson <tasleson@redhat.com> - 1.6.2-10
549066
- Remove NetApp Ontap plugin. (RHBZ #1626415)
549066
549066
* Tue Sep 25 2018 Gris Ge <fge@redhat.com> - 1.6.2-9
549066
- Fix the manapge of lsmd.conf. (RHBZ #1612755)
549066
549066
* Tue Sep 18 2018 Gris Ge <fge@redhat.com> - 1.6.2-8
549066
- Fix the `rpm -V` failures. (RHBZ #1630114)
549066
549066
* Tue Sep 18 2018 Gris Ge <fge@redhat.com> - 1.6.2-7
549066
- Add explicit package version requirement to libstoragemgmt-nfs-plugin-clibs.
549066
549066
* Mon Sep 03 2018 Gris Ge <fge@redhat.com> - 1.6.2-6
549066
- Move lsm utils to /usr/libexec/lsm.d folder. (RHBZ #1623506)
549066
549066
* Mon Sep 03 2018 Gris Ge <fge@redhat.com> - 1.6.2-5
549066
- Removed the dependency of yajl. (RHBZ #1560205)
549066
549066
* Fri Aug 10 2018 Gris Ge <fge@redhat.com> 1.6.2-4
549066
- Removed the requirement of initscripts.
549066
- Remove python2 sub-packages.
549066
549066
* Fri Aug  3 2018 Florian Weimer <fweimer@redhat.com> - 1.6.2-3
549066
- Honor %%{valgrind_arches}
549066
- De-configure the test suite unless building with testing
549066
549066
* Tue Jul 03 2018 Tomas Orsava <torsava@redhat.com> - 1.6.2-2
549066
- Switch hardcoded python3 path into the %%{__python3} macro
549066
- Fix shebangs accordingly
549066
549066
* Fri May 18 2018 Gris Ge <fge@redhat.com> - 1.6.2-1
549066
- Upgrade to 1.6.2.
549066
549066
* Fri Mar 23 2018 Gris Ge <fge@redhat.com> - 1.6.1-7
549066
- Fix incorect memset size.
549066
549066
* Fri Mar 23 2018 Gris Ge <fge@redhat.com> - 1.6.1-6
549066
- Add ./autogen.sh back to fix the version diff on autotools.
549066
549066
* Fri Mar 23 2018 Gris Ge <fge@redhat.com> - 1.6.1-5
549066
- Add missing rpm script for arcconf, nfs, local plugins.
549066
549066
* Thu Mar 22 2018 Gris Ge <fge@redhat.com> - 1.6.1-4
549066
- Fix build on GCC 8
549066
549066
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-3
549066
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
549066
549066
* Wed Jan 03 2018 LumĂ­r Balhar <lbalhar@redhat.com> - 1.6.1-2
549066
- Fix directory ownership in python subpackages
549066
549066
* Tue Oct 31 2017 Gris Ge <fge@redhat.com> - 1.6.1-1
549066
- Upgrade to 1.6.1
549066
549066
* Thu Oct 19 2017 Gris Ge <fge@redhat.com> - 1.6.0-1
549066
- Upgrade to 1.6.0
549066
549066
* Sun Oct 15 2017 Gris Ge <fge@redhat.com> - 1.5.0-3
549066
- Specify Python version in SPEC Requires.
549066
549066
* Wed Oct 11 2017 Gris Ge <fge@redhat.com> - 1.5.0-2
549066
- Fix multilib confliction of nfs-plugin by move binrary file to
549066
  another subpackage libstoragemgmt-nfs-plugin-clibs
549066
549066
* Tue Oct 10 2017 Gris Ge <fge@redhat.com> - 1.5.0-0
549066
- New upstream release 1.5.0:
549066
    * New sub-package libstoragemgmt-nfs-plugin, libstoragemgmt-arcconf-plugin,
549066
      and libstoragemgmt-local-plugin.
549066
    * C API manpages for libstoragemgmt-devel package.
549066
549066
* Tue Oct 3 2017 Tony Asleson <tasleson@redhat.com> - 1.4.0-5
549066
- Remove m2crypto requirement
549066
549066
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.4.0-4
549066
- Python 2 binary packages renamed to python2-libstoragemgmt and python2-libstoragemgmt-clibs
549066
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
549066
- %%python_provide added for all four python subpackages
549066
549066
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
549066
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
549066
549066
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
549066
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
549066
549066
549066
* Tue Feb 21 2017 Gris Ge <fge@redhat.com> 1.4.0-1
549066
- Add Python3 support.
549066
- New sub rpm package python3-libstoragemgmt.
549066
- Add support of lmiwbem(this rpm use pywbem instead).
549066
- Allow plugin test to be run concurrently.
549066
- Bug fixes:
549066
    * Fix megaraid plugin for dell PERC.
549066
    * Fix local disk rotation speed query on NVMe disk.
549066
    * Fix lsmcli incorrect try-expect on local disk query.
549066
    * Fix all the gcc compile warnings.
549066
    * Fix the obsolete usage of AC_OUTPUT in configure.ac.
549066
- Library adds:
549066
    * Query serial of local disk:
549066
        lsm_local_disk_serial_num_get()/lsm.LocalDisk.serial_num_get()
549066
    * Query LED status of local disk:
549066
        lsm_local_disk_led_status_get()/lsm.LocalDisk.led_status_get()
549066
    * Query link speed of local disk:
549066
        lsm_local_disk_link_speed_get()/lsm.LocalDisk.link_speed_get()
549066
549066
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-2
549066
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
549066
549066
* Tue Sep 27 2016 Gris Ge <fge@redhat.com> 1.3.5-1
549066
- New upstream release 1.3.5
549066
549066
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-2
549066
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
549066
549066
* Wed May 18 2016 Tony Asleson <tasleson@redhat.com> 1.3.2-1
549066
- New upstream release 1.3.2
549066
549066
* Fri May 13 2016 Tony Asleson <tasleson@redhat.com> 1.3.1-2
549066
- Disable make check as we are hitting a valgrind memleak in ld.so
549066
  on arm arch.
549066
549066
* Fri May 13 2016 Tony Asleson <tasleson@redhat.com> 1.3.1-1
549066
- New upstream release 1.3.1
549066
549066
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-2
549066
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
549066
549066
* Wed Jun 24 2015 Gris Ge <fge@redhat.com> 1.2.3-1
549066
- New upstream release 1.2.3:
549066
    * Bug fixes:
549066
        * lsmcli bash completion: Fix syntax error.
549066
        * lsmcli bash completion: Fix volume-delete.
549066
        * lsmcli bash completion: Add missing completions.
549066
        * Fix: selinux dac_override
549066
        * Manpage: Update hpsa and megaraid plugin manpages.
549066
        * HP Smart Array Plugin: Fix pool querying on P410i.
549066
        * MegaRAID Plugin: Fix bug when no volume configured.
549066
549066
* Fri Jun 19 2015 Gris Ge <fge@redhat.com> - 1.2.1-1
549066
- New upstream release 1.2.1.
549066
- Changed upstream URL and source URL to github.
549066
- New sub-pacakges:
549066
    * libstoragemgmt-megaraid-plugin
549066
        New plugin in 1.2.0 release.
549066
    * libstoragemgmt-hpsa-plugin
549066
        New plugin in 1.2.0 release.
549066
- Add bash-completion script for lsmcli.
549066
- New rpmbuild switch: 
549066
    * '--without test'
549066
        Use to skip 'make check' test to save debug time.
549066
    * '--without megaraid'
549066
        Don't compile megaraid plugin.
549066
    * '--without hpsa'
549066
        Don't compile hpsa plugin.
549066
- Remove PyYAML BuildRequires.
549066
- Add NEWS(changelog) to document folder.
549066
- Replace the hardcoded udev path with <percent>{_udevrulesdir}.
549066
- Fix rpmlint error 'dir-or-file-in-var-run'.
549066
- Mark /run/lsm and /run/lsm/ipc as <percent>ghost folder.
549066
- Fix rpmlint warnning 'W: non-standard-uid /run/lsm libstoragemgmt'.
549066
- Add 'Requires(post)' and 'Requires(postun)' to plugins in order
549066
  to make sure plugin is installed after libstoragemgmt and removed before
549066
  libstoragemgmt.
549066
- Fix the incorrect use of <percent>bcond_with and <percent>bcond_without.
549066
- Removed autogen.sh which is not required for release version any more.
549066
549066
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-4
549066
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
549066
549066
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.1.0-3
549066
- Rebuilt for GCC 5 C++11 ABI change
549066
549066
* Fri Jan 16 2015 Tony Asleson <tasleson@redhat.com> 1.1.0-2
549066
- Make updates work correctly for removed sub package
549066
  libstoragemgmt-ibm-v7k-plugin
549066
549066
* Thu Dec 4 2014 Tony Asleson <tasleson@redhat.com> 1.1.0-1
549066
- New upstream release
549066
- Fix udev files directory
549066
- Move command line files to python package
549066
549066
* Wed Oct 8 2014 Tony Asleson <tasleson@redhat.com> - 1.0.0-3
549066
- Specify udev files to /usr/lib dir instead of /lib
549066
- Move command line python files to python package
549066
549066
* Wed Oct 1 2014 Tony Asleson <tasleson@redhat.com> - 1.0.0-2
549066
- BZ 850185, Use new systemd rpm macros
549066
- BZ 1122117, Use correct tmpfiles.d dir
549066
549066
* Sun Sep 7 2014 Tony Asleson <tasleson@redhat.com> - 1.0.0-1
549066
- New upstream release
549066
549066
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2
549066
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
549066
549066
* Thu Jul 3 2014 Tony Asleson <tasleson@redhat.com> - 0.1.0-1
549066
- New upstream release
549066
549066
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.24-2
549066
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
549066
549066
* Thu Jan 30 2014 Tony Asleson <tasleson@redhat.com> 0.0.24-1
549066
- New upstream release
549066
549066
* Wed Nov 27 2013 Tony Asleson <tasleson@redhat.com> 0.0.23-1
549066
- New upstream release
549066
549066
* Mon Aug 12 2013 Tony Asleson <tasleson@redhat.com> 0.0.22-1
549066
- New upstream release
549066
549066
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.21-2
549066
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
549066
549066
* Tue Jul 16 2013 Tony Asleson <tasleson@redhat.com> 0.0.21-1
549066
- New upstream release
549066
- Put plug-ins in separate sub packages
549066
- Don't include IBM plug-in on RHEL > 6, missing paramiko
549066
549066
* Tue May 28 2013 Tony Asleson <tasleson@redhat.com> - 0.0.20-1
549066
- New upstream release
549066
- Separate package for python libraries
549066
- Make timestamps match on version.py in library
549066
- Add python-paramiko requirement for IBM plug-in
549066
549066
* Mon Apr 22 2013 Tony Asleson <tasleson@redhat.com> - 0.0.19-1
549066
- New upstream release
549066
549066
* Fri Mar 8 2013 Tony Asleson <tasleson@redhat.com> - 0.0.18-1
549066
- New upstream release
549066
549066
* Thu Jan 31 2013 Tony Asleson <tasleson@redhat.com> - 0.0.17-1
549066
- New upstream release
549066
549066
* Wed Jan 2 2013 Tony Asleson <tasleson@redhat.com> - 0.0.16-1
549066
- New upstream release
549066
549066
* Tue Nov 27 2012 Tony Asleson <tasleson@redhat.com> - 0.0.15-1
549066
- New upstream release
549066
549066
* Wed Oct 3 2012 Tony Asleson <tasleson@redhat.com> - 0.0.13-1
549066
- New upstream release
549066
549066
* Tue Sep 18 2012 Tony Asleson <tasleson@redhat.com> - 0.0.12-1
549066
- New upstream release
549066
549066
* Mon Aug 13 2012 Tony Asleson <tasleson@redhat.com> 0.0.11-1
549066
- New upstream release
549066
549066
* Fri Jul 27 2012 Dan HorĂ¡k <dan[at]danny.cz> - 0.0.9-3
549066
- detect also non-x86 arches in Pegasus check
549066
549066
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-2
549066
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
549066
549066
* Tue Jun 12 2012 Tony Asleson <tasleson@redhat.com> 0.0.9-1
549066
- Initial checkin of lio plug-in
549066
- System filtering via URI (smispy)
549066
- Error code mapping (ontap)
549066
- Fixed build so same build tarball is used for all binaries
549066
549066
* Mon Jun 4 2012 Tony Asleson <tasleson@redhat.com> 0.0.8-1
549066
- Make building of SMI-S CPP plugin optional
549066
- Add pkg-config file
549066
- SMIS: Fix exception while retrieving Volumes
549066
- SMIS: Fix exception while retrieving Volumes
549066
- lsm: Add package imports
549066
- Make Smis class available in lsm python package
549066
- Add option to disable building C unit test
549066
- Make simulator classes available in lsm python package
549066
- Make ontap class available in lsm python package
549066
- Changes to support building on Fedora 17 (v2)
549066
- Spec. file updates from feedback from T. Callaway (spot)
549066
- F17 linker symbol visibility correction
549066
- Remove unneeded build dependencies and cleaned up some warnings
549066
- C Updates, client C library feature parity with python
549066
549066
* Fri May 11 2012 Tony Asleson <tasleson@redhat.com> 0.0.7-1
549066
- Bug fix for smi-s constants
549066
- Display formatting improvements
549066
- Added header option for lsmcli
549066
- Improved version handling for builds
549066
- Made terminology consistent
549066
- Ability to list visibility for access groups and volumes
549066
- Simulator plug-in fully supports all block operations
549066
- Added support for multiple systems with a single plug-in instance
549066
549066
* Fri Apr 20 2012 Tony Asleson <tasleson@redhat.com> 0.0.6-1
549066
- Documentation improvements (man & source code)
549066
- Support for access groups
549066
- Unified spec files Fedora/RHEL
549066
- Package version auto generate
549066
- Rpm target added to make
549066
- Bug fix for missing optional property on volume retrieval (smispy plug-in)
549066
549066
* Fri Apr 6 2012 Tony Asleson <tasleson@redhat.com> 0.0.5-1
549066
- Spec file clean-up improvements
549066
- Async. operation added to lsmcli and ability to check on job status
549066
- Sub volume replication support
549066
- Ability to check for child dependencies on VOLUMES, FS and files
549066
- SMI-S Bug fixes and improvements
549066
549066
* Mon Mar 26 2012 Tony Asleson <tasleson@redhat.com> 0.0.4-1
549066
- Restore from snapshot
549066
- Job identifiers string instead of integer
549066
- Updated license address
549066
549066
* Wed Mar 14 2012 Tony Asleson <tasleson@redhat.com> 0.0.3-1
549066
- Changes to installer, daemon uid, gid, /var/run/lsm/*
549066
- NFS improvements and bug fixes
549066
- Python library clean up (rpmlint errors)
549066
549066
* Sun Mar 11 2012 Tony Asleson <tasleson@redhat.com> 0.0.2-1
549066
- Added NetApp native plugin
549066
549066
* Mon Feb 6 2012 Tony Asleson <tasleson@redhat.com>  0.0.1alpha-1
549066
- Initial version of package
549066