fix update error

This commit is contained in:
sugarfillet 2020-03-22 00:44:05 +08:00
parent 3e0404a523
commit 1d2d573d15

View File

@ -2,7 +2,7 @@
%define with_python2 0 %define with_python2 0
Name: libstoragemgmt Name: libstoragemgmt
Version: 1.8.0 Version: 1.8.0
Release: 2 Release: 3
Summary: Storage array management library Summary: Storage array management library
License: LGPLv2+ License: LGPLv2+
URL: https://github.com/libstorage/libstoragemgmt URL: https://github.com/libstorage/libstoragemgmt
@ -20,6 +20,7 @@ BuildRequires: python2-six python2-devel
%endif %endif
Requires: python3-libstoragemgmt Requires: python3-libstoragemgmt
Obsoletes: python2-libstoragemgmt python2-libstoragemgmt-clibs
%description %description
The libStorageMgmt library will provide a vendor agnostic open source storage The libStorageMgmt library will provide a vendor agnostic open source storage
@ -99,7 +100,7 @@ smis generic aaray for libstoragemgmt.
%package netapp-plugin %package netapp-plugin
Summary: netapp files for libstoragemgmt Summary: netapp files for libstoragemgmt
BuildArch: noarch BuildArch: noarch
Requires: python3-%{name} = %{version} python3-%{name} = %{version}-%{release} Requires: python3-%{name} = %{version}
Requires(post): python3-%{name} = %{version} Requires(post): python3-%{name} = %{version}
Requires(postun): python3-%{name} = %{version} Requires(postun): python3-%{name} = %{version}
Provides: %{name}-targetd-plugin = %{version}-%{release} Provides: %{name}-targetd-plugin = %{version}-%{release}
@ -369,6 +370,9 @@ fi
%{_mandir}/man*/* %{_mandir}/man*/*
%changelog %changelog
* Sat Mar 21 2020 songshuaishuai <songshuaishuai2@huawei.com> - 1.8.0-3
- fix update error
* Mon Mar 16 2020 gulining<gulining1@huawei.com> - 1.8.0-2 * Mon Mar 16 2020 gulining<gulining1@huawei.com> - 1.8.0-2
- remove python2 - remove python2