!44 add loong64 support
From: @huajingyun Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
e96fa0372b
11
nvwa.spec
11
nvwa.spec
@ -1,11 +1,13 @@
|
||||
Name: nvwa
|
||||
Version: 0.2
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: a tool used for openEuler kernel update
|
||||
|
||||
License: MulanPSL-2.0 and Apache-2.0 and MIT and MPL-2.0
|
||||
URL: https://gitee.com/openeuler/nvwa
|
||||
Source: %{name}-v%{version}.tar.gz
|
||||
#source1 version sys@v0.0.0-20220908164124-27713097b956
|
||||
Source1: sys.tar.gz
|
||||
|
||||
Patch1: 0001-ignore-pin-memory-init-in-x86.patch
|
||||
|
||||
@ -21,7 +23,10 @@ A tool used to automate the process of seamless update of the openEuler.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-v%{version} -p1
|
||||
|
||||
%ifarch loongarch64
|
||||
rm -rf src/vendor/golang.org/x/sys
|
||||
tar -xf %{SOURCE1} -C src/vendor/golang.org/x/
|
||||
%endif
|
||||
|
||||
%build
|
||||
|
||||
@ -81,6 +86,8 @@ source /usr/share/bash-completion/completions/nvwa
|
||||
%{_bindir}/%{name}-pre.sh
|
||||
|
||||
%changelog
|
||||
* Thu Jul 13 2023 huajingyun <huajingyun@loongson.cn> - 0.2-2
|
||||
- add loong64 support
|
||||
* Fri Jul 30 2021 anatasluo <luolongjun@huawei.com> - 0.2-1
|
||||
- Update to 0.2
|
||||
* Fri Mar 19 2021 snoweay <snoweay@163.com> - 0.1-3
|
||||
|
||||
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