!26 ceph: fix python-prettytable require version problem

From: @liuzhiqiang26
Reviewed-by: @chixinze
Signed-off-by: @chixinze
This commit is contained in:
openeuler-ci-bot 2021-01-27 21:01:57 +08:00 committed by Gitee
commit b3fd22cbeb

View File

@ -68,7 +68,7 @@
################################################################################# #################################################################################
Name: ceph Name: ceph
Version: 12.2.8 Version: 12.2.8
Release: 9 Release: 10
Epoch: 2 Epoch: 2
# define _epoch_prefix macro which will expand to the empty string if epoch is # define _epoch_prefix macro which will expand to the empty string if epoch is
@ -286,10 +286,10 @@ Requires: python-rbd = %{_epoch_prefix}%{version}-%{release}
Requires: python-cephfs = %{_epoch_prefix}%{version}-%{release} Requires: python-cephfs = %{_epoch_prefix}%{version}-%{release}
Requires: python-rgw = %{_epoch_prefix}%{version}-%{release} Requires: python-rgw = %{_epoch_prefix}%{version}-%{release}
%if 0%{?fedora} || 0%{?rhel} || 0%{?openEuler} %if 0%{?fedora} || 0%{?rhel} || 0%{?openEuler}
Requires: python-prettytable Requires: python2-prettytable
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version}
Requires: python-PrettyTable Requires: python2-PrettyTable
%endif %endif
Requires: python-requests Requires: python-requests
%{?systemd_requires} %{?systemd_requires}
@ -1797,6 +1797,9 @@ exit 0
%changelog %changelog
* Wed Jan 27 2021 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 1:12.2.8-10
- correct ceph-common requires python2-prettytable version.
* Wed Dec 30 2020 yanglongkang <yanglongkang@huawei.com> - 1:12.2.8-9 * Wed Dec 30 2020 yanglongkang <yanglongkang@huawei.com> - 1:12.2.8-9
- fix CVE-2020-12059 - fix CVE-2020-12059