!33 修复loongarch架构编译错误

From: @yue-yuankun 
Reviewed-by: @HuaxinLuGitee 
Signed-off-by: @HuaxinLuGitee
This commit is contained in:
openeuler-ci-bot 2024-06-24 03:38:14 +00:00 committed by Gitee
commit 697f9adb78
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: secpaver Name: secpaver
Summary: Security policy development tool Summary: Security policy development tool
Version: 1.0.2 Version: 1.0.2
Release: 10 Release: 11
License: MulanPSL-2.0 License: MulanPSL-2.0
URL: https://gitee.com/openeuler/secpaver URL: https://gitee.com/openeuler/secpaver
Source: https://gitee.com/openeuler/secpaver/repository/archive/%{name}-%{version}.tar.gz 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 Patch0004: fix-go-build-ref-cldflags.patch
Patch0005: remove-unused-socket.patch Patch0005: remove-unused-socket.patch
%ifarch riscv64 %ifarch riscv64 loongarch64
Patch1000: 1000-fix-build-on-riscv64.patch Patch1000: 1000-fix-build-on-riscv64.patch
%endif %endif
@ -86,6 +86,9 @@ tar -xf %{SOURCE1} -C vendor/golang.org/x/
%systemd_postun_with_restart pavd.service %systemd_postun_with_restart pavd.service
%changelog %changelog
* Sun Jun 09 2024 yueyuankun <yueyuankun@kylinos.cn> - 1.0.2-11
- Fix build on loongarch64
* Sat Apr 13 2024 zhengxiaoxiao <zhengxiaoxiao2@huawei.com> - 1.0.2-10 * Sat Apr 13 2024 zhengxiaoxiao <zhengxiaoxiao2@huawei.com> - 1.0.2-10
- remove unused socket - remove unused socket