From 7c3a27c792e223d2ca7ca7938bbb36f58c3bdb4e Mon Sep 17 00:00:00 2001 From: Sun haiyong Date: Mon, 28 Mar 2022 22:14:14 +0800 Subject: [PATCH] Add LoongAch support: copy config.sub and config.guess file. --- gnulib.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnulib.spec b/gnulib.spec index b3f3bb5..9af5799 100644 --- a/gnulib.spec +++ b/gnulib.spec @@ -1,5 +1,5 @@ Name: gnulib -Version: 0 +Version: 1 Release: 28.20180720git Summary: The GNU Portability Library License: Public Domain and BSD and GPLv2+ and GPLv3 and GPLv3+ and LGPLv2 and LGPLv2+ and LGPLv3+ @@ -39,6 +39,10 @@ This package contains help docs for gnulib. And Provides ChangeLog files. %prep %autosetup -n gnulib-68df637 -p1 -Sgit +%ifarch loongarch64 +cp /usr/lib/rpm/%{_vendor}/config.{sub,guess} build-aux/ +%endif + toRemove="lib-symbol-visibility havelib .*-obsolete localcharset gettext-h gettext alloca-opt alloca " list="$(./gnulib-tool --list)" @@ -115,6 +119,9 @@ fi %license doc/COPYINGv2 %changelog +* Mon Mar 28 2022 Sunhaiyong - 0-28.20180720git +- Add loongarch support. Copy config.sub and config.guess file on when the arch is LoongArch. + * Wed Feb 23 2022 yaoxin - 0-28.20180720git - Fix CVE-2018-17942 -- Gitee