From 826964668259455c6eab8652fce6991b2e173382 Mon Sep 17 00:00:00 2001 From: Sun Haiyong Date: Tue, 11 Jan 2022 19:37:05 +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 ba5e7fc..7256b89 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+ @@ -38,6 +38,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)" @@ -114,6 +118,9 @@ fi %license doc/COPYINGv2 %changelog +* Tue Jan 11 2022 Sunhaiyong - 0-28.20180720git +- Add loongarch support. Copy config.sub and config.guess file on when the arch is LoongArch. + * Sun Mar 21 2021 lingsheng - 0-28.20180720git - Add gcc_secure to fix test_localeconv fail -- Gitee