Remove smi-s plugin sub-package
Resolves: RHEL-53567 Signed-off-by: Tony Asleson <tasleson@redhat.com>
This commit is contained in:
parent
ff3723b822
commit
4d789274d5
@ -2,7 +2,7 @@
|
||||
|
||||
Name: libstoragemgmt
|
||||
Version: 1.10.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Storage array management library
|
||||
License: LGPL-2.1-or-later
|
||||
URL: https://github.com/libstorage/libstoragemgmt
|
||||
@ -15,6 +15,8 @@ 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
|
||||
Obsoletes: %{name}-smis-plugin <= 1.10.1-1
|
||||
Provides: %{name}-smis-plugin <= 1.10.1-1
|
||||
|
||||
BuildRequires: gcc gcc-c++
|
||||
BuildRequires: autoconf automake libtool check-devel perl-interpreter
|
||||
@ -70,23 +72,6 @@ Obsoletes: python3-%{name}-clibs <= 1.9.0-1
|
||||
This contains python 3 client libraries as well as python framework
|
||||
support and open source plug-ins written in python 3.
|
||||
|
||||
%package smis-plugin
|
||||
Summary: Files for SMI-S generic array support for %{name}
|
||||
BuildRequires: python3-pywbem
|
||||
BuildRequires: make
|
||||
Requires: python3-pywbem
|
||||
BuildArch: noarch
|
||||
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}
|
||||
Requires(postun): python3-%{name} = %{version}
|
||||
|
||||
|
||||
%description smis-plugin
|
||||
The %{name}-smis-plugin package contains plug-in for generic SMI-S array
|
||||
support.
|
||||
|
||||
%package targetd-plugin
|
||||
Summary: Files for targetd array support for %{name}
|
||||
Requires: python3-%{name} = %{version}
|
||||
@ -168,7 +153,7 @@ plugin selection for locally managed storage.
|
||||
%build
|
||||
./autogen.sh
|
||||
|
||||
%configure --with-python3 --disable-static
|
||||
%configure --with-python3 --disable-static --without-smispy
|
||||
%make_build
|
||||
|
||||
%install
|
||||
@ -213,19 +198,6 @@ echo 'u libstoragemgmt - "daemon account for libstoragemgmt"' | \
|
||||
/sbin/ldconfig
|
||||
%systemd_postun %{name}.service
|
||||
|
||||
# Need to restart lsmd if plugin is new installed or removed.
|
||||
%post smis-plugin
|
||||
if [ $1 -eq 1 ]; then
|
||||
# New install.
|
||||
/usr/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
%postun smis-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
|
||||
@ -360,24 +332,6 @@ fi
|
||||
%config(noreplace) %{_sysconfdir}/lsm/pluginconf.d/sim.conf
|
||||
%{_mandir}/man1/sim_lsmplugin.1*
|
||||
|
||||
%files smis-plugin
|
||||
%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 targetd-plugin
|
||||
%dir %{python3_sitelib}/targetd_plugin
|
||||
%dir %{python3_sitelib}/targetd_plugin/__pycache__
|
||||
@ -446,6 +400,9 @@ fi
|
||||
%{_mandir}/man1/local_lsmplugin.1*
|
||||
|
||||
%changelog
|
||||
* Thu Aug 8 2024 Tony Asleson <tasleson@redhat.com> - 1.10.1-3
|
||||
- Remove smis plugin sub package
|
||||
|
||||
* Wed Jul 17 2024 Tony Asleson <tasleson@redhat.com> - 1.10.1-2
|
||||
- Add gating.yaml
|
||||
|
||||
@ -757,7 +714,7 @@ fi
|
||||
* libstoragemgmt-hpsa-plugin
|
||||
New plugin in 1.2.0 release.
|
||||
- Add bash-completion script for lsmcli.
|
||||
- New rpmbuild switch:
|
||||
- New rpmbuild switch:
|
||||
* '--without test'
|
||||
Use to skip 'make check' test to save debug time.
|
||||
* '--without megaraid'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user