diff --git a/ceph.spec b/ceph.spec index 30943e9..2171a75 100644 --- a/ceph.spec +++ b/ceph.spec @@ -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 - 2:16.2.7-15 +- fix no python symbol for python3 + * Thu Jan 12 2023 Wenlong Zhang - 2:16.2.7-14 - add loongarch support for ceph