From 655603dcbe3de7e33d3fe423431cd6f94b0e3198 Mon Sep 17 00:00:00 2001 From: Hailiang Date: Mon, 20 Oct 2025 15:28:07 +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 9a26b11..ffed750 100644 --- a/pcp.spec +++ b/pcp.spec @@ -2,7 +2,7 @@ Name: pcp Version: 6.2.2 -Release: 5 +Release: 6 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 @@ -50,7 +50,7 @@ Patch4: redhat-issues-RHEL-57788-pmdahacluster-update.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 @@ -2207,7 +2207,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 @@ -3194,6 +3194,9 @@ fi %changelog +* Mon Oct 20 2025 mahailiang - 6.2.2-6 +- fix sw_64 mips64el build error + * Tue Oct 29 2024 liyanan - 6.2.2-5 - Add requires pcp-zeroconf to pcp-system-tools -- Gitee