fix lack of python symbol

This commit is contained in:
liuqinfei 2023-02-06 10:21:22 +08:00
parent 6faad7d1ef
commit cc6458e881

View File

@ -125,7 +125,7 @@
#################################################################################
Name: ceph
Version: 16.2.7
Release: 14
Release: 15
%if 0%{?fedora} || 0%{?rhel} || 0%{?openEuler}
Epoch: 2
%endif
@ -176,6 +176,7 @@ BuildRequires: sharutils
BuildRequires: checkpolicy
BuildRequires: selinux-policy-devel
%endif
BuildRequires: python3-unversioned-command
BuildRequires: gperf
BuildRequires: cmake > 3.5
BuildRequires: cryptsetup
@ -1714,6 +1715,8 @@ fi
%{_datadir}/ceph/mgr/mgr_util.*
%{_unitdir}/ceph-mgr@.service
%{_unitdir}/ceph-mgr.target
%exclude %{_datadir}/ceph/mgr/__pycache__/mgr_module.*
%exclude %{_datadir}/ceph/mgr/__pycache__/mgr_util.*
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/mgr
%post mgr
@ -2501,6 +2504,9 @@ exit 0
%config %{_sysconfdir}/prometheus/ceph/ceph_default_alerts.yml
%changelog
* Mon Feb 6 2023 liuqinfei<liuqinfei@hisilicon.com> - 2:16.2.7-15
- fix no python symbol for python3
* Thu Jan 12 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 2:16.2.7-14
- add loongarch support for ceph