Add loong64 support
This commit is contained in:
parent
3c2743da16
commit
910986a6e7
@ -2,10 +2,12 @@
|
|||||||
Name: secpaver
|
Name: secpaver
|
||||||
Summary: Security policy development tool
|
Summary: Security policy development tool
|
||||||
Version: 1.0.2
|
Version: 1.0.2
|
||||||
Release: 4
|
Release: 5
|
||||||
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
|
||||||
|
#source1 version sys@v0.0.0-20220908164124-27713097b956
|
||||||
|
Source1: sys.tar.gz
|
||||||
|
|
||||||
Patch0001: dont-do-daemon-reload-in-make-install.patch
|
Patch0001: dont-do-daemon-reload-in-make-install.patch
|
||||||
Patch0002: set-default-log-path.patch
|
Patch0002: set-default-log-path.patch
|
||||||
@ -31,6 +33,10 @@ SELinux plugin for secPaver.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
%ifarch loongarch64
|
||||||
|
rm -rf vendor/golang.org/x/sys
|
||||||
|
tar -xf %{SOURCE1} -C vendor/golang.org/x/
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make_build everything
|
%make_build everything
|
||||||
@ -73,6 +79,9 @@ SELinux plugin for secPaver.
|
|||||||
%systemd_postun_with_restart pavd.service
|
%systemd_postun_with_restart pavd.service
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jan 16 2023 yangchenguang <yangchenguang@uniontech.com> - 1.0.2-4
|
||||||
- add buildrequires systemd for macros.systemd %{_unitdir}
|
- add buildrequires systemd for macros.systemd %{_unitdir}
|
||||||
|
|
||||||
|
|||||||
BIN
sys.tar.gz
Normal file
BIN
sys.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user