diff --git a/nvwa.spec b/nvwa.spec index d8ac02b..08fb5fb 100644 --- a/nvwa.spec +++ b/nvwa.spec @@ -1,11 +1,13 @@ Name: nvwa Version: 0.2 -Release: 4 +Release: 5 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 Patch2: 0002-systemd-solve-the-problem-of-parsing-pid-of-message.patch @@ -24,6 +26,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 @@ -83,6 +89,8 @@ source /usr/share/bash-completion/completions/nvwa %{_bindir}/%{name}-pre.sh %changelog +* Thu Jul 13 2023 huajingyun - 0.2-5 +- add loong64 support * Tue Jan 03 2023 anatasluo - 0.2-4 - Solve the problem of parsing pid of message * Thu Dec 15 2022 fushanqing - 0.2-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