From 929e57e59af39de5dcdcc81becaeffee17125828 Mon Sep 17 00:00:00 2001 From: Hailiang Date: Mon, 20 Oct 2025 15:31:01 +0800 Subject: [PATCH] fix sw_64 mips64el build error --- pcp.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pcp.spec b/pcp.spec index b6b943d..a6fb315 100644 --- a/pcp.spec +++ b/pcp.spec @@ -2,7 +2,7 @@ Name: pcp Version: 6.3.8 -Release: 1 +Release: 2 Summary: System-level performance monitoring and performance management License: GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-3.0 URL: https://pcp.io @@ -52,7 +52,7 @@ Patch0: fix-check-static-when-build-by-clang.patch %global disable_bcc 0 # support for pmdabpf, check bcc.spec for supported architectures of libbpf-tools -%ifarch loongarch64 +%ifarch loongarch64 sw_64 mips64el %global disable_bpf 1 %else %global disable_bpf 0 @@ -2224,7 +2224,7 @@ sed -i '/.a$/d' pcp-devel-files sed -i '/\/man\//d' pcp-devel-files sed -i '/\/include\//d' pcp-devel-files -%ifarch x86_64 ppc64 ppc64le aarch64 s390x riscv64 loongarch64 +%ifarch x86_64 ppc64 ppc64le aarch64 s390x riscv64 loongarch64 sw_64 mips64el sed -i -e 's/usr\/lib\//usr\/lib64\//' pcp-libs-files sed -i -e 's/usr\/lib\//usr\/lib64\//' pcp-devel-files sed -i -e 's/usr\/lib\//usr\/lib64\//' pcp-libs-devel-files @@ -3220,6 +3220,9 @@ fi %changelog +* Mon Oct 20 2025 mahailiang - 6.3.8-2 +- fix sw_64 mips64el build error + * Tue Apr 29 2025 Funda Wang - 6.3.8-1 - update to 6.3.8 -- Gitee