From ddb3665c415ed501d2cf8d47ffd0749e1dcc3290 Mon Sep 17 00:00:00 2001 From: lizhipeng Date: Fri, 21 Nov 2025 11:09:35 +0800 Subject: [PATCH] =?UTF-8?q?fix=20src.rpm=20not=20contain=20loongarch64?= =?UTF-8?q?=E3=80=81riscv64?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lizhipeng --- ceph.spec | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/ceph.spec b/ceph.spec index a84a885..aa810d8 100644 --- a/ceph.spec +++ b/ceph.spec @@ -174,7 +174,7 @@ ################################################################################# Name: ceph Version: 18.2.2 -Release: 9 +Release: 10 %if 0%{?fedora} || 0%{?rhel} || 0%{?openEuler} Epoch: 2 %endif @@ -201,12 +201,8 @@ Patch6: 0006-client-set-LIBMOUNT_FORCE_MOUNT2-always.patch Patch7: 0007-client-disallow-unprivileged-users-to-escalate-root.patch Patch8: 0008-add-checking-result-for-rgw-frontend-init.patch -%ifarch riscv64 Patch9002: 9002-fix-riscv64-build.patch -%endif -%ifarch loongarch64 Patch9003: 9003-add-supprot-for-loongarch64.patch -%endif %if 0%{?suse_version} # _insert_obs_source_lines_here @@ -1316,7 +1312,23 @@ 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 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 + +%ifarch loongarch64 +%patch9003 -p1 +%endif + +%ifarch riscv64 +%patch9002 -p1 +%endif %build # Disable lto on systems that do not support symver attribute @@ -2646,6 +2658,9 @@ exit 0 %{_datadir}/snmp/mibs %changelog +* Fri Nov 21 2025 lizhipeng - 2:18.2.2-10 +- fix src.rpm not contain loongarch64、riscv64 + * Tue Aug 26 2025 lizhipeng - 2:18.2.2-9 - fix invalid ip issue of radosgw endpoint -- Gitee