From 54aa80b0202e70a2dd1c13c4e5b8871041167b3e Mon Sep 17 00:00:00 2001 From: yueyuankun Date: Sun, 9 Jun 2024 17:27:55 +0800 Subject: [PATCH] Fix build on loongarch64 --- secpaver.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/secpaver.spec b/secpaver.spec index d322de3..16064d0 100755 --- a/secpaver.spec +++ b/secpaver.spec @@ -2,7 +2,7 @@ Name: secpaver Summary: Security policy development tool Version: 1.0.2 -Release: 10 +Release: 11 License: MulanPSL-2.0 URL: https://gitee.com/openeuler/secpaver Source: https://gitee.com/openeuler/secpaver/repository/archive/%{name}-%{version}.tar.gz @@ -15,7 +15,7 @@ Patch0003: support-clang-build.patch Patch0004: fix-go-build-ref-cldflags.patch Patch0005: remove-unused-socket.patch -%ifarch riscv64 +%ifarch riscv64 loongarch64 Patch1000: 1000-fix-build-on-riscv64.patch %endif @@ -86,6 +86,9 @@ tar -xf %{SOURCE1} -C vendor/golang.org/x/ %systemd_postun_with_restart pavd.service %changelog +* Sun Jun 09 2024 yueyuankun - 1.0.2-11 +- Fix build on loongarch64 + * Sat Apr 13 2024 zhengxiaoxiao - 1.0.2-10 - remove unused socket -- Gitee