diff --git a/nvwa.spec b/nvwa.spec index 0c12b11..0e379a2 100644 --- a/nvwa.spec +++ b/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 - 0.2-2 +- add loong64 support * Fri Jul 30 2021 anatasluo - 0.2-1 - Update to 0.2 * Fri Mar 19 2021 snoweay - 0.1-3 diff --git a/sys.tar.gz b/sys.tar.gz new file mode 100644 index 0000000..40a278e Binary files /dev/null and b/sys.tar.gz differ