From 7dacb0fdaa17033db40b3d1f9ee14f0bd10e6e28 Mon Sep 17 00:00:00 2001 From: herengui Date: Thu, 10 Aug 2023 14:42:47 +0800 Subject: [PATCH] fix sw_64 build error Signed-off-by: herengui --- ceph.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ceph.spec b/ceph.spec index 6a97123..ef5c5ab 100644 --- a/ceph.spec +++ b/ceph.spec @@ -125,7 +125,7 @@ ################################################################################# Name: ceph Version: 16.2.7 -Release: 17 +Release: 18 %if 0%{?fedora} || 0%{?rhel} || 0%{?openEuler} Epoch: 2 %endif @@ -225,7 +225,9 @@ BuildRequires: sqlite-devel BuildRequires: sudo BuildRequires: pkgconfig(udev) BuildRequires: util-linux +%ifnarch sw_64 BuildRequires: valgrind-devel +%endif BuildRequires: which BuildRequires: xfsprogs BuildRequires: xfsprogs-devel @@ -407,7 +409,7 @@ BuildRequires: libnuma-devel %if 0%{?rhel} >= 8 || 0%{?openEuler} BuildRequires: /usr/bin/pathfix.py %endif -%ifarch loongarch64 +%ifarch loongarch64 sw_64 BuildRequires: boost-devel BuildRequires: boost-random BuildRequires: libatomic @@ -2501,6 +2503,9 @@ exit 0 %config %{_sysconfdir}/prometheus/ceph/ceph_default_alerts.yml %changelog +* Thu Aug 10 2023 herengui - 2:16.2.7-18 +- fix sw_64 build error + * Thu Jun 1 2023 wangzengliang - 2:16.2.7-17 - fix error for uninstall cephadm -- Gitee