!16 add loong64 support

From: @huajingyun 
Reviewed-by: @yangzhao_kl, @HuaxinLuGitee 
Signed-off-by: @yangzhao_kl, @HuaxinLuGitee
This commit is contained in:
openeuler-ci-bot 2023-07-14 08:30:26 +00:00 committed by Gitee
commit b25bf156b4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 10 additions and 1 deletions

View File

@ -2,10 +2,12 @@
Name: secpaver
Summary: Security policy development tool
Version: 1.0.2
Release: 4
Release: 5
License: MulanPSL-2.0
URL: https://gitee.com/openeuler/secpaver
Source: https://gitee.com/openeuler/secpaver/repository/archive/%{name}-%{version}.tar.gz
#source1 version sys@v0.0.0-20220908164124-27713097b956
Source1: sys.tar.gz
Patch0001: dont-do-daemon-reload-in-make-install.patch
Patch0002: set-default-log-path.patch
@ -31,6 +33,10 @@ SELinux plugin for secPaver.
%prep
%autosetup -n %{name}-%{version} -p1
%ifarch loongarch64
rm -rf vendor/golang.org/x/sys
tar -xf %{SOURCE1} -C vendor/golang.org/x/
%endif
%build
%make_build everything
@ -73,6 +79,9 @@ SELinux plugin for secPaver.
%systemd_postun_with_restart pavd.service
%changelog
* Tue Jul 11 2023 huajingyun <huajingyun@loongson.cn> - 1.0.2-5
- Add loong64 support
* Mon Jan 16 2023 yangchenguang <yangchenguang@uniontech.com> - 1.0.2-4
- add buildrequires systemd for macros.systemd %{_unitdir}

BIN
sys.tar.gz Normal file

Binary file not shown.