From 935003c0828a12bbb0414c4a0c33c9a5ae3a5137 Mon Sep 17 00:00:00 2001 From: lizhipeng Date: Thu, 18 Sep 2025 10:44:06 +0800 Subject: [PATCH] =?UTF-8?q?fix=20src.rpm=20not=20contain=20loongarch64?= =?UTF-8?q?=E3=80=81riscv64=20patch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lizhipeng --- ceph.spec | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/ceph.spec b/ceph.spec index d417dca..ba2e148 100644 --- a/ceph.spec +++ b/ceph.spec @@ -174,7 +174,7 @@ ################################################################################# Name: ceph Version: 18.2.2 -Release: 10 +Release: 11 %if 0%{?fedora} || 0%{?rhel} || 0%{?openEuler} Epoch: 2 %endif @@ -202,12 +202,8 @@ Patch8: 0007-client-set-LIBMOUNT_FORCE_MOUNT2-always.patch Patch9: 0008-client-disallow-unprivileged-users-to-escalate-root.patch Patch10: 0009-add-checking-result-for-rgw-frontend-init.patch -%ifarch loongarch64 -Patch5: 9001-add-supprot-for-loongarch64.patch -%endif -%ifarch riscv64 +Patch9001: 9001-add-supprot-for-loongarch64.patch Patch9002: 9002-fix-riscv64-build.patch -%endif %if 0%{?suse_version} # _insert_obs_source_lines_here @@ -1317,7 +1313,24 @@ This package provides a Ceph MIB for SNMP traps. # common ################################################################################# %prep -%autosetup -p1 -n ceph-18.2.2 +%setup -n ceph-18.2.2 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 + +%ifarch loongarch64 +%patch9001 -p1 +%endif + +%ifarch riscv64 +%patch9002 -p1 +%endif %build # Disable lto on systems that do not support symver attribute @@ -2647,6 +2660,9 @@ exit 0 %{_datadir}/snmp/mibs %changelog +* Thu Sep 18 2025 lizhipeng - 2:18.2.2-11 +- fix src.rpm not contain loongarch64、riscv64 patch + * Tue Aug 26 2025 lizhipeng - 2:18.2.2-10 - fix invalid ip issue of radosgw endpoint -- Gitee