Fix NFS plugin multilib issue.
Move the C binary file out to the libstoragemgmt-nfs-plugin-clibs package to make sure we are multilib-clean. Signed-off-by: Gris Ge <fge@redhat.com>
This commit is contained in:
parent
4d9a5bf6d1
commit
0a04c7f62c
|
@ -3,7 +3,7 @@
|
|||
|
||||
Name: libstoragemgmt
|
||||
Version: 1.5.0
|
||||
Release: 0%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Storage array management library
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
|
@ -208,12 +208,24 @@ Adaptec RAID and Smart Family Controller storage management.
|
|||
Summary: Files for NFS local filesystem support for %{name}
|
||||
Group: System Environment/Libraries
|
||||
Requires: python3-%{name} = %{version}
|
||||
Requires: %{name}-nfs-plugin-clibs = %{version}
|
||||
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
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%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}
|
||||
Group: System Environment/Libraries
|
||||
|
@ -570,11 +582,13 @@ fi
|
|||
%{python3_sitelib}/lsm/plugin/nfs/__pycache__/*
|
||||
%{python3_sitelib}/lsm/plugin/nfs/__init__.*
|
||||
%{python3_sitelib}/lsm/plugin/nfs/nfs.*
|
||||
%{python3_sitelib}/lsm/plugin/nfs/nfs_clib.*
|
||||
%{_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
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{python3_sitelib}/lsm/plugin/arcconf
|
||||
|
@ -599,6 +613,10 @@ fi
|
|||
%{_mandir}/man1/local_lsmplugin.1*
|
||||
|
||||
%changelog
|
||||
* Wed Oct 11 2017 Gris Ge <fge@redhat.com> - 1.5.0-2
|
||||
- Fix multilib confliction of nfs-plugin by move binrary file to
|
||||
another subpackage libstoragemgmt-nfs-plugin-clibs
|
||||
|
||||
* Tue Oct 10 2017 Gris Ge <fge@redhat.com> - 1.5.0-0
|
||||
- New upstream release 1.5.0:
|
||||
* New sub-package libstoragemgmt-nfs-plugin, libstoragemgmt-arcconf-plugin,
|
||||
|
|
Loading…
Reference in New Issue