diff --git a/1000-fix-build-on-riscv64.patch b/1000-fix-build-on-riscv64-and-loongarch.patch similarity index 100% rename from 1000-fix-build-on-riscv64.patch rename to 1000-fix-build-on-riscv64-and-loongarch.patch diff --git a/secpaver.spec b/secpaver.spec index 16064d067d5c63bc533205cde59e0b84f043d594..a7507df64287232e396ef6dd286c530755c0114a 100755 --- a/secpaver.spec +++ b/secpaver.spec @@ -2,7 +2,7 @@ Name: secpaver Summary: Security policy development tool Version: 1.0.2 -Release: 11 +Release: 12 License: MulanPSL-2.0 URL: https://gitee.com/openeuler/secpaver Source: https://gitee.com/openeuler/secpaver/repository/archive/%{name}-%{version}.tar.gz @@ -15,9 +15,7 @@ Patch0003: support-clang-build.patch Patch0004: fix-go-build-ref-cldflags.patch Patch0005: remove-unused-socket.patch -%ifarch riscv64 loongarch64 -Patch1000: 1000-fix-build-on-riscv64.patch -%endif +Patch1000: 1000-fix-build-on-riscv64-and-loongarch.patch BuildRequires: golang make systemd Requires: %{name}-plugin = %{version}-%{release} @@ -86,6 +84,9 @@ tar -xf %{SOURCE1} -C vendor/golang.org/x/ %systemd_postun_with_restart pavd.service %changelog +* Tue Dec 10 2024 shenzhongwei - 1.0.2-12 +- include all patches in the source package. + * Sun Jun 09 2024 yueyuankun - 1.0.2-11 - Fix build on loongarch64