diff --git a/nvwa.spec b/nvwa.spec index 3798c37ca3d632f9c0155de5c3490d71dd71a1f6..bd7df9d259470c424248a55102ce24cb24584c66 100644 --- a/nvwa.spec +++ b/nvwa.spec @@ -1,11 +1,13 @@ Name: nvwa Version: 0.2 -Release: 3 +Release: 4 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-systemd-solve-the-problem-of-parsing-pid-of-message.patch Patch2: 0002-ignore-pin-memory-init-in-x86.patch @@ -24,7 +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 @@ -84,6 +89,8 @@ source /usr/share/bash-completion/completions/nvwa %{_bindir}/%{name}-pre.sh %changelog +* Tue May 23 2023 huajingyun - 0.2-4 +- add loong64 support * Tue 03 Jan 2023 anatasluo - 0.2-3 - Solve the problem of parsing pid of message * Sat 10 Dec 2022 anatasluo - 0.2-2 diff --git a/sys.tar.gz b/sys.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..40a278ee856ba1d96d9f392d4e024426faf5881f Binary files /dev/null and b/sys.tar.gz differ