|
|
|
@ -1,33 +1,27 @@
|
|
|
|
|
%bcond_with test
|
|
|
|
|
%global py2_build_dir %{_builddir}/%{name}-%{version}-%{release}-python2
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} > 7 || 0%{?fedora} > 28
|
|
|
|
|
%bcond_with python2
|
|
|
|
|
%else
|
|
|
|
|
%bcond_without python2
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: libstoragemgmt
|
|
|
|
|
Version: 1.8.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 1.9.6
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Storage array management library
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://github.com/libstorage/libstoragemgmt
|
|
|
|
|
Source0: https://github.com/libstorage/libstoragemgmt/releases/download/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
Patch1: 0001-change-run-dir.patch
|
|
|
|
|
Requires: python3-%{name}
|
|
|
|
|
Requires: python3-%{name}%{_isa}
|
|
|
|
|
|
|
|
|
|
# Packages that have been removed
|
|
|
|
|
Obsoletes: %{name}-netapp-plugin <= 1.6.2-10
|
|
|
|
|
Provides: %{name}-netapp-plugin <= 1.6.2-10
|
|
|
|
|
Obsoletes: %{name}-nstor-plugin <= 1.9.0-1
|
|
|
|
|
Provides: %{name}-nstor-plugin <= 1.9.0-1
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc gcc-c++
|
|
|
|
|
BuildRequires: autoconf automake libtool libxml2-devel check-devel perl-interpreter
|
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
BuildRequires: autoconf automake libtool check-devel perl-interpreter
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
BuildRequires: systemd
|
|
|
|
|
BuildRequires: bash-completion
|
|
|
|
|
BuildRequires: libconfig-devel
|
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
|
%if %{with python2}
|
|
|
|
|
BuildRequires: python2-six
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: procps
|
|
|
|
|
BuildRequires: sqlite-devel
|
|
|
|
|
BuildRequires: python3-six
|
|
|
|
@ -54,64 +48,33 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with python2}
|
|
|
|
|
%package -n python2-%{name}
|
|
|
|
|
Summary: Python2 client libraries and plug-in support for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: python2-%{name}-clibs
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%{?python_provide:%python_provide python2-%{name}}
|
|
|
|
|
# Remove before F30
|
|
|
|
|
Provides: %{name}-python = %{version}-%{release}
|
|
|
|
|
Obsoletes: %{name}-python < %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n python2-%{name}
|
|
|
|
|
This package contains python client libraries as well as python
|
|
|
|
|
framework support and open source plug-ins written in python.
|
|
|
|
|
|
|
|
|
|
%package -n python2-%{name}-clibs
|
|
|
|
|
Summary: Python2 C extension module for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
%{?python_provide:%python_provide python2-%{name}-clibs}
|
|
|
|
|
# Remove before F30
|
|
|
|
|
Provides: %{name}-python-clibs = %{version}-%{release}
|
|
|
|
|
Provides: %{name}-python-clibs%{?_isa} = %{version}-%{release}
|
|
|
|
|
Obsoletes: %{name}-python-clibs < %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n python2-%{name}-clibs
|
|
|
|
|
This package contains python2 client C extension libraries.
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{name}
|
|
|
|
|
Summary: Python 3 client libraries and plug-in support for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: python3-%{name}-clibs
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: python3-six
|
|
|
|
|
|
|
|
|
|
# If obsoleted packages are installed, we need to meet it's requirement
|
|
|
|
|
# of having the correct version of this package functionality installed too as
|
|
|
|
|
# the update occurs first, before the obsolete removes the obsoleted package.
|
|
|
|
|
Provides: python2-%{name}-clibs <= 1.9.0-1
|
|
|
|
|
Obsoletes: python2-%{name}-clibs <= 1.9.0-1
|
|
|
|
|
|
|
|
|
|
Provides: python3-%{name}-clibs <= 1.9.0-1
|
|
|
|
|
Obsoletes: python3-%{name}-clibs <= 1.9.0-1
|
|
|
|
|
|
|
|
|
|
%{?python_provide:%python_provide python3-%{name}}
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{name}
|
|
|
|
|
This contains python 3 client libraries as well as python framework
|
|
|
|
|
support and open source plug-ins written in python 3.
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{name}-clibs
|
|
|
|
|
Summary: Python 3 C extension module for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
%{?python_provide:%python_provide python3-%{name}-clibs}
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{name}-clibs
|
|
|
|
|
This package contains python 3 client C extension libraries.
|
|
|
|
|
|
|
|
|
|
%package smis-plugin
|
|
|
|
|
Summary: Files for SMI-S generic array support for %{name}
|
|
|
|
|
BuildRequires: python3-pywbem
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
Requires: python3-pywbem
|
|
|
|
|
%if %{with python2}
|
|
|
|
|
BuildRequires: python2-pywbem
|
|
|
|
|
%endif
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Provides: %{name}-ibm-v7k-plugin = 2:%{version}-%{release}
|
|
|
|
|
Provides: %{name}-ibm-v7k-plugin <= 2:1.9.3-4
|
|
|
|
|
Obsoletes: %{name}-ibm-v7k-plugin <= 2:0.1.0-3
|
|
|
|
|
Requires: python3-%{name} = %{version}
|
|
|
|
|
Requires(post): python3-%{name} = %{version}
|
|
|
|
@ -122,20 +85,6 @@ Requires(postun): python3-%{name} = %{version}
|
|
|
|
|
The %{name}-smis-plugin package contains plug-in for generic SMI-S array
|
|
|
|
|
support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package netapp-plugin
|
|
|
|
|
Summary: Files for NetApp array support for %{name}
|
|
|
|
|
Requires: python3-%{name} = %{version}
|
|
|
|
|
Requires(post): python3-%{name} = %{version}
|
|
|
|
|
Requires(postun): python3-%{name} = %{version}
|
|
|
|
|
Requires: python3-%{name} = %{version}-%{release}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description netapp-plugin
|
|
|
|
|
The %{name}-netapp-plugin package contains plug-in for NetApp array
|
|
|
|
|
support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package targetd-plugin
|
|
|
|
|
Summary: Files for targetd array support for %{name}
|
|
|
|
|
Requires: python3-%{name} = %{version}
|
|
|
|
@ -147,18 +96,6 @@ BuildArch: noarch
|
|
|
|
|
The %{name}-targetd-plugin package contains plug-in for targetd array
|
|
|
|
|
support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package nstor-plugin
|
|
|
|
|
Summary: Files for NexentaStor array support for %{name}
|
|
|
|
|
Requires: python3-%{name} = %{version}
|
|
|
|
|
Requires(post): python3-%{name} = %{version}
|
|
|
|
|
Requires(postun): python3-%{name} = %{version}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description nstor-plugin
|
|
|
|
|
The %{name}-nstor-plugin package contains plug-in for NexentaStor array
|
|
|
|
|
support.
|
|
|
|
|
|
|
|
|
|
%package udev
|
|
|
|
|
Summary: Udev files for %{name}
|
|
|
|
|
|
|
|
|
@ -202,27 +139,19 @@ Adaptec RAID and Smart Family Controller storage management.
|
|
|
|
|
%package nfs-plugin
|
|
|
|
|
Summary: Files for NFS local filesystem support for %{name}
|
|
|
|
|
Requires: python3-%{name} = %{version}
|
|
|
|
|
Requires: %{name}-nfs-plugin-clibs = %{version}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: nfs-utils
|
|
|
|
|
Requires(post): python3-%{name} = %{version}
|
|
|
|
|
Requires(postun): python3-%{name} = %{version}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description nfs-plugin
|
|
|
|
|
The nfs-plugin package contains plug-in for local NFS exports support.
|
|
|
|
|
|
|
|
|
|
%package nfs-plugin-clibs
|
|
|
|
|
Summary: Python C extension module for %{name} NFS plugin
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description nfs-plugin-clibs
|
|
|
|
|
The %{name}-nfs-plugin-clibs package contains python C
|
|
|
|
|
extension for %{name} NFS plugin.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package local-plugin
|
|
|
|
|
Summary: Files for local pseudo plugin of %{name}
|
|
|
|
|
Requires: python3-%{name} = %{version}
|
|
|
|
|
Requires: %{name}-arcconf-plugin = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-hpsa-plugin = %{version}-%{release}
|
|
|
|
|
Requires(post): python3-%{name} = %{version}
|
|
|
|
|
Requires(postun): python3-%{name} = %{version}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -236,34 +165,14 @@ plugin selection for locally managed storage.
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
./autogen.sh
|
|
|
|
|
%if %{with python2}
|
|
|
|
|
# Copy the whole directory to Python2 build
|
|
|
|
|
rm -fr %{py2_build_dir}
|
|
|
|
|
cp -a . %{py2_build_dir}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%configure --with-python3 --disable-static
|
|
|
|
|
V=1 make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%if %{with python2}
|
|
|
|
|
pushd %{py2_build_dir}
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
V=1 make %{?_smp_mflags}
|
|
|
|
|
popd
|
|
|
|
|
%endif
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%if %{with python2}
|
|
|
|
|
pushd %{py2_build_dir}
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
rm -rf %{buildroot}/%{python_sitelib}/lsm/plugin
|
|
|
|
|
rm -rf %{buildroot}/%{_bindir}/lsmcli
|
|
|
|
|
popd
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
|
|
|
@ -282,22 +191,12 @@ then
|
|
|
|
|
exit 1
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%if %{with python2}
|
|
|
|
|
pushd %{py2_build_dir}
|
|
|
|
|
if ! make check
|
|
|
|
|
then
|
|
|
|
|
cat test-suite.log || true
|
|
|
|
|
exit 1
|
|
|
|
|
fi
|
|
|
|
|
popd
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%pre
|
|
|
|
|
getent group libstoragemgmt >/dev/null || groupadd -r libstoragemgmt
|
|
|
|
|
getent passwd libstoragemgmt >/dev/null || \
|
|
|
|
|
useradd -r -g libstoragemgmt -d /var/run/lsm -s /sbin/nologin \
|
|
|
|
|
-c "daemon account for libstoragemgmt" libstoragemgmt
|
|
|
|
|
|
|
|
|
|
echo 'u libstoragemgmt - "daemon account for libstoragemgmt"' | \
|
|
|
|
|
systemd-sysusers --replace=/usr/lib/sysusers.d/libstoragemgmt.conf -
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
@ -325,19 +224,6 @@ if [ $1 -eq 0 ]; then
|
|
|
|
|
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
|
|
|
|
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 >/dev/null 2>&1 || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%postun netapp-plugin
|
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
|
# Remove
|
|
|
|
|
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Need to restart lsmd if plugin is new installed or removed.
|
|
|
|
|
%post targetd-plugin
|
|
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
@ -351,19 +237,6 @@ if [ $1 -eq 0 ]; then
|
|
|
|
|
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
|
|
|
|
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 >/dev/null 2>&1 || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%postun nstor-plugin
|
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
|
# Remove
|
|
|
|
|
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Need to restart lsmd if plugin is new installed or removed.
|
|
|
|
|
%post megaraid-plugin
|
|
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
@ -453,175 +326,229 @@ fi
|
|
|
|
|
%{_mandir}/man3/lsm_*
|
|
|
|
|
%{_mandir}/man3/libstoragemgmt*
|
|
|
|
|
|
|
|
|
|
%if %{with python2}
|
|
|
|
|
%files -n python2-%{name}
|
|
|
|
|
#Python library files
|
|
|
|
|
%dir %{python_sitelib}/lsm
|
|
|
|
|
%{python2_sitelib}/lsm/__init__.*
|
|
|
|
|
%dir %{python_sitelib}/lsm/external
|
|
|
|
|
%{python2_sitelib}/lsm/external/*
|
|
|
|
|
%{python2_sitelib}/lsm/_client.*
|
|
|
|
|
%{python2_sitelib}/lsm/_common.*
|
|
|
|
|
%{python2_sitelib}/lsm/_local_disk.*
|
|
|
|
|
%{python2_sitelib}/lsm/_data.*
|
|
|
|
|
%{python2_sitelib}/lsm/_iplugin.*
|
|
|
|
|
%{python2_sitelib}/lsm/_pluginrunner.*
|
|
|
|
|
%{python2_sitelib}/lsm/_transport.*
|
|
|
|
|
%{python2_sitelib}/lsm/version.*
|
|
|
|
|
%dir %{python_sitelib}/lsm/lsmcli
|
|
|
|
|
%{python2_sitelib}/lsm/lsmcli/__init__.*
|
|
|
|
|
%{python2_sitelib}/lsm/lsmcli/data_display.*
|
|
|
|
|
%{python2_sitelib}/lsm/lsmcli/cmdline.*
|
|
|
|
|
|
|
|
|
|
# Compiled C files for python library
|
|
|
|
|
%files -n python2-%{name}-clibs
|
|
|
|
|
%{python2_sitelib}/lsm/_clib.*
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{name}
|
|
|
|
|
%dir %{python3_sitelib}/lsm
|
|
|
|
|
%{python3_sitelib}/lsm/__init__.*
|
|
|
|
|
%dir %{python3_sitelib}/lsm/external
|
|
|
|
|
%{python3_sitelib}/lsm/external/*
|
|
|
|
|
%{python3_sitelib}/lsm/_client.*
|
|
|
|
|
%{python3_sitelib}/lsm/_common.*
|
|
|
|
|
%{python3_sitelib}/lsm/_local_disk.*
|
|
|
|
|
%{python3_sitelib}/lsm/_data.*
|
|
|
|
|
%{python3_sitelib}/lsm/_iplugin.*
|
|
|
|
|
%{python3_sitelib}/lsm/_pluginrunner.*
|
|
|
|
|
%{python3_sitelib}/lsm/_transport.*
|
|
|
|
|
%{python3_sitelib}/lsm/__pycache__/
|
|
|
|
|
%{python3_sitelib}/lsm/version.*
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/__init__.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/__pycache__/
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin/sim
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/sim/__pycache__/
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/sim/__init__.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/sim/simulator.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/sim/simarray.*
|
|
|
|
|
%dir %{python3_sitelib}/lsm/lsmcli
|
|
|
|
|
%{python3_sitelib}/lsm/lsmcli/__init__.*
|
|
|
|
|
%{python3_sitelib}/lsm/lsmcli/__pycache__/
|
|
|
|
|
%{python3_sitelib}/lsm/lsmcli/data_display.*
|
|
|
|
|
%{python3_sitelib}/lsm/lsmcli/cmdline.*
|
|
|
|
|
%dir %{python3_sitearch}/lsm
|
|
|
|
|
%{python3_sitearch}/lsm/__init__.*
|
|
|
|
|
%{python3_sitearch}/lsm/_client.*
|
|
|
|
|
%{python3_sitearch}/lsm/_common.*
|
|
|
|
|
%{python3_sitearch}/lsm/_local_disk.*
|
|
|
|
|
%{python3_sitearch}/lsm/_data.*
|
|
|
|
|
%{python3_sitearch}/lsm/_iplugin.*
|
|
|
|
|
%{python3_sitearch}/lsm/_pluginrunner.*
|
|
|
|
|
%{python3_sitearch}/lsm/_transport.*
|
|
|
|
|
%{python3_sitearch}/lsm/__pycache__/
|
|
|
|
|
%{python3_sitearch}/lsm/version.*
|
|
|
|
|
%dir %{python3_sitearch}/lsm/lsmcli
|
|
|
|
|
%{python3_sitearch}/lsm/lsmcli/__init__.*
|
|
|
|
|
%{python3_sitearch}/lsm/lsmcli/__pycache__/
|
|
|
|
|
%{python3_sitearch}/lsm/lsmcli/data_display.*
|
|
|
|
|
%{python3_sitearch}/lsm/lsmcli/cmdline.*
|
|
|
|
|
%{python3_sitearch}/lsm/_clib.*
|
|
|
|
|
|
|
|
|
|
%dir %{python3_sitearch}/sim_plugin
|
|
|
|
|
%{python3_sitearch}/sim_plugin/__pycache__/
|
|
|
|
|
%{python3_sitearch}/sim_plugin/__init__.*
|
|
|
|
|
%{python3_sitearch}/sim_plugin/simulator.*
|
|
|
|
|
%{python3_sitearch}/sim_plugin/simarray.*
|
|
|
|
|
|
|
|
|
|
%{_bindir}/sim_lsmplugin
|
|
|
|
|
%dir %{_libexecdir}/lsm.d
|
|
|
|
|
%{_libexecdir}/lsm.d/find_unused_lun.py*
|
|
|
|
|
%{_libexecdir}/lsm.d/local_sanity_check.py*
|
|
|
|
|
%{_libexecdir}/lsm.d/local_check.py*
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/sim.conf
|
|
|
|
|
%{_mandir}/man1/sim_lsmplugin.1*
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{name}-clibs
|
|
|
|
|
%{python3_sitelib}/lsm/_clib.*
|
|
|
|
|
|
|
|
|
|
%files smis-plugin
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin/smispy
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin/smispy/__pycache__
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/smispy/__pycache__/*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/smispy/__init__.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/smispy/smis.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/smispy/dmtf.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/smispy/utils.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/smispy/smis_common.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/smispy/smis_cap.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/smispy/smis_sys.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/smispy/smis_pool.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/smispy/smis_disk.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/smispy/smis_vol.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/smispy/smis_ag.*
|
|
|
|
|
%dir %{python3_sitelib}/smispy_plugin
|
|
|
|
|
%dir %{python3_sitelib}/smispy_plugin/__pycache__
|
|
|
|
|
%{python3_sitelib}/smispy_plugin/__pycache__/*
|
|
|
|
|
%{python3_sitelib}/smispy_plugin/__init__.*
|
|
|
|
|
%{python3_sitelib}/smispy_plugin/smis.*
|
|
|
|
|
%{python3_sitelib}/smispy_plugin/dmtf.*
|
|
|
|
|
%{python3_sitelib}/smispy_plugin/utils.*
|
|
|
|
|
%{python3_sitelib}/smispy_plugin/smis_common.*
|
|
|
|
|
%{python3_sitelib}/smispy_plugin/smis_cap.*
|
|
|
|
|
%{python3_sitelib}/smispy_plugin/smis_sys.*
|
|
|
|
|
%{python3_sitelib}/smispy_plugin/smis_pool.*
|
|
|
|
|
%{python3_sitelib}/smispy_plugin/smis_disk.*
|
|
|
|
|
%{python3_sitelib}/smispy_plugin/smis_vol.*
|
|
|
|
|
%{python3_sitelib}/smispy_plugin/smis_ag.*
|
|
|
|
|
%{_bindir}/smispy_lsmplugin
|
|
|
|
|
%{_mandir}/man1/smispy_lsmplugin.1*
|
|
|
|
|
|
|
|
|
|
%files netapp-plugin
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin/ontap
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin/ontap/__pycache__
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/ontap/__pycache__/*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/ontap/__init__.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/ontap/na.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/ontap/ontap.*
|
|
|
|
|
%{_bindir}/ontap_lsmplugin
|
|
|
|
|
%{_mandir}/man1/ontap_lsmplugin.1*
|
|
|
|
|
|
|
|
|
|
%files targetd-plugin
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin/targetd
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin/targetd/__pycache__
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/targetd/__pycache__/*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/targetd/__init__.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/targetd/targetd.*
|
|
|
|
|
%dir %{python3_sitelib}/targetd_plugin
|
|
|
|
|
%dir %{python3_sitelib}/targetd_plugin/__pycache__
|
|
|
|
|
%{python3_sitelib}/targetd_plugin/__pycache__/*
|
|
|
|
|
%{python3_sitelib}/targetd_plugin/__init__.*
|
|
|
|
|
%{python3_sitelib}/targetd_plugin/targetd.*
|
|
|
|
|
%{_bindir}/targetd_lsmplugin
|
|
|
|
|
%{_mandir}/man1/targetd_lsmplugin.1*
|
|
|
|
|
|
|
|
|
|
%files nstor-plugin
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin/nstor
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin/nstor/__pycache__
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/nstor/__pycache__/*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/nstor/__init__.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/nstor/nstor.*
|
|
|
|
|
%{_bindir}/nstor_lsmplugin
|
|
|
|
|
%{_mandir}/man1/nstor_lsmplugin.1*
|
|
|
|
|
|
|
|
|
|
%files udev
|
|
|
|
|
%{_udevrulesdir}/../scan-scsi-target
|
|
|
|
|
%{_udevrulesdir}/90-scsi-ua.rules
|
|
|
|
|
|
|
|
|
|
%files megaraid-plugin
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin/megaraid
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin/megaraid/__pycache__
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/megaraid/__pycache__/*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/megaraid/__init__.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/megaraid/megaraid.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/megaraid/utils.*
|
|
|
|
|
%dir %{python3_sitelib}/megaraid_plugin
|
|
|
|
|
%dir %{python3_sitelib}/megaraid_plugin/__pycache__
|
|
|
|
|
%{python3_sitelib}/megaraid_plugin/__pycache__/*
|
|
|
|
|
%{python3_sitelib}/megaraid_plugin/__init__.*
|
|
|
|
|
%{python3_sitelib}/megaraid_plugin/megaraid.*
|
|
|
|
|
%{python3_sitelib}/megaraid_plugin/utils.*
|
|
|
|
|
%{_bindir}/megaraid_lsmplugin
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/megaraid.conf
|
|
|
|
|
%{_mandir}/man1/megaraid_lsmplugin.1*
|
|
|
|
|
|
|
|
|
|
%files hpsa-plugin
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin/hpsa
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin/hpsa/__pycache__
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/hpsa/__pycache__/*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/hpsa/__init__.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/hpsa/hpsa.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/hpsa/utils.*
|
|
|
|
|
%dir %{python3_sitelib}/hpsa_plugin
|
|
|
|
|
%dir %{python3_sitelib}/hpsa_plugin/__pycache__
|
|
|
|
|
%{python3_sitelib}/hpsa_plugin/__pycache__/*
|
|
|
|
|
%{python3_sitelib}/hpsa_plugin/__init__.*
|
|
|
|
|
%{python3_sitelib}/hpsa_plugin/hpsa.*
|
|
|
|
|
%{python3_sitelib}/hpsa_plugin/utils.*
|
|
|
|
|
%{_bindir}/hpsa_lsmplugin
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/hpsa.conf
|
|
|
|
|
%{_mandir}/man1/hpsa_lsmplugin.1*
|
|
|
|
|
|
|
|
|
|
%files nfs-plugin
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin/nfs
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin/nfs/__pycache__
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/nfs/__pycache__/*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/nfs/__init__.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/nfs/nfs.*
|
|
|
|
|
%dir %{python3_sitearch}/nfs_plugin
|
|
|
|
|
%dir %{python3_sitearch}/nfs_plugin/__pycache__
|
|
|
|
|
%{python3_sitearch}/nfs_plugin/__pycache__/*
|
|
|
|
|
%{python3_sitearch}/nfs_plugin/__init__.*
|
|
|
|
|
%{python3_sitearch}/nfs_plugin/nfs.*
|
|
|
|
|
%{python3_sitearch}/nfs_plugin/nfs_clib.*
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/nfs.conf
|
|
|
|
|
%{_bindir}/nfs_lsmplugin
|
|
|
|
|
%{_mandir}/man1/nfs_lsmplugin.1*
|
|
|
|
|
|
|
|
|
|
%files nfs-plugin-clibs
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/nfs/nfs_clib.*
|
|
|
|
|
|
|
|
|
|
%files arcconf-plugin
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin/arcconf
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin/arcconf/__pycache__
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/arcconf/__pycache__/*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/arcconf/__init__.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/arcconf/arcconf.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/arcconf/utils.*
|
|
|
|
|
%dir %{python3_sitelib}/arcconf_plugin
|
|
|
|
|
%dir %{python3_sitelib}/arcconf_plugin/__pycache__
|
|
|
|
|
%{python3_sitelib}/arcconf_plugin/__pycache__/*
|
|
|
|
|
%{python3_sitelib}/arcconf_plugin/__init__.*
|
|
|
|
|
%{python3_sitelib}/arcconf_plugin/arcconf.*
|
|
|
|
|
%{python3_sitelib}/arcconf_plugin/utils.*
|
|
|
|
|
%{_bindir}/arcconf_lsmplugin
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/arcconf.conf
|
|
|
|
|
%{_mandir}/man1/arcconf_lsmplugin.1*
|
|
|
|
|
|
|
|
|
|
%files local-plugin
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin/local
|
|
|
|
|
%dir %{python3_sitelib}/lsm/plugin/local/__pycache__
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/local/__pycache__/*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/local/__init__.*
|
|
|
|
|
%{python3_sitelib}/lsm/plugin/local/local.*
|
|
|
|
|
%dir %{python3_sitelib}/local_plugin
|
|
|
|
|
%dir %{python3_sitelib}/local_plugin/__pycache__
|
|
|
|
|
%{python3_sitelib}/local_plugin/__pycache__/*
|
|
|
|
|
%{python3_sitelib}/local_plugin/__init__.*
|
|
|
|
|
%{python3_sitelib}/local_plugin/local.*
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/local.conf
|
|
|
|
|
%{_bindir}/local_lsmplugin
|
|
|
|
|
%{_mandir}/man1/local_lsmplugin.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Nov 11 2022 Tony Asleson <tasleson@redhat.com> - 1.9.6-2
|
|
|
|
|
- Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Nov 10 2022 Tony Asleson <tasleson@redhat.com> - 1.9.6-1
|
|
|
|
|
- Upgrade to 1.9.6
|
|
|
|
|
|
|
|
|
|
* Mon Oct 17 2022 Tony Asleson <tasleson@redhat.com> - 1.9.5-1
|
|
|
|
|
- Upgrade to 1.9.5
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.4-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 18 2022 Tony Asleson <tasleson@redhat.com> - 1.9.4-4
|
|
|
|
|
- Use systemd-sysusers
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.9.4-3
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Thu Apr 7 2022 Tony Asleson <tasleson@redhat.com> - 1.9.4-2
|
|
|
|
|
- Fix failure to build on i386
|
|
|
|
|
|
|
|
|
|
* Thu Apr 7 2022 Tony Asleson <tasleson@redhat.com> - 1.9.4-1
|
|
|
|
|
- Upgrade to 1.9.4
|
|
|
|
|
|
|
|
|
|
* Wed Jan 26 2022 Tony Asleson <tasleson@redhat.com> - 1.9.3-3
|
|
|
|
|
- Remove -Werror for build due to bug, see: https://gcc.gnu.org/PR104213
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Nov 17 2021 Tony Asleson <tasleson@redhat.com> - 1.9.3-1
|
|
|
|
|
- Upgrade to 1.9.3
|
|
|
|
|
- Add requirements for local plugin
|
|
|
|
|
|
|
|
|
|
* Mon Aug 9 2021 Tony Asleson <tasleson@redhat.com> - 1.9.2-4
|
|
|
|
|
- Add missing requirement for python six library
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.9.2-2
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
|
|
* Mon May 17 2021 Tony Asleson <tasleson@redhat.com> - 1.9.2-1
|
|
|
|
|
- Upgrade to 1.9.2
|
|
|
|
|
|
|
|
|
|
* Tue Apr 20 2021 Tony Asleson <tasleson@redhat.com> - 1.9.1-1
|
|
|
|
|
- Upgrade to 1.9.1
|
|
|
|
|
|
|
|
|
|
* Thu Mar 25 2021 Tony Asleson <tasleson@redhat.com> - 1.9.0-1
|
|
|
|
|
- Upgrade to 1.9.0
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.8-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 25 2021 Tony Asleson <tasleson@redhat.com> - 1.8.8-2
|
|
|
|
|
- Disable test
|
|
|
|
|
|
|
|
|
|
* Tue Dec 15 2020 Tony Asleson <tasleson@redhat.com> - 1.8.8-1
|
|
|
|
|
- Upgrade to 1.8.8 which removes a couple of plugins and reorg.
|
|
|
|
|
the plugin install directories.
|
|
|
|
|
|
|
|
|
|
* Thu Dec 3 2020 Tony Asleson <tasleson@redhat.com> - 1.8.7-1
|
|
|
|
|
- Upgrade to 1.8.7
|
|
|
|
|
|
|
|
|
|
* Mon Nov 2 2020 Tony Asleson <tasleson@redhat.com> - 1.8.6-1
|
|
|
|
|
- Upgrade to 1.8.6
|
|
|
|
|
|
|
|
|
|
* Thu Oct 1 2020 Tony Asleson <tasleson@redhat.com> - 1.8.5-3
|
|
|
|
|
- Remove pywbem version check as its not needed and breaks
|
|
|
|
|
now that epoch is used in it.
|
|
|
|
|
|
|
|
|
|
* Fri Sep 4 2020 Tony Asleson <tasleson@redhat.com> - 1.8.5-2
|
|
|
|
|
- Fix test compile error for i386
|
|
|
|
|
|
|
|
|
|
* Tue Aug 11 2020 Tony Asleson <tasleson@redhat.com> - 1.8.5-1
|
|
|
|
|
- Upgrade to 1.8.5
|
|
|
|
|
- Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1864052
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-5
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 1.8.4-3
|
|
|
|
|
- Use make macros
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
|
|
|
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.8.4-2
|
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
|
|
|
|
* Thu May 21 2020 Tony Asleson <tasleson@redhat.com> - 1.8.4-1
|
|
|
|
|
- Upgrade to 1.8.4
|
|
|
|
|
|
|
|
|
|
* Wed Feb 12 2020 Tony Asleson <tasleson@redhat.com> - 1.8.3-1
|
|
|
|
|
- Upgrade to 1.8.3
|
|
|
|
|
|
|
|
|
|
* Mon Feb 10 2020 Tony Asleson <tasleson@redhat.com> - 1.8.2-3
|
|
|
|
|
- Correct python clib packages to include ISA for correct dependencies
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Dec 10 2019 Tony Asleson <tasleson@redhat.com> - 1.8.2-1
|
|
|
|
|
- Upgrade to 1.8.2
|
|
|
|
|
|
|
|
|
|