diff --git a/gnulib.spec b/gnulib.spec index ba5e7fc5a0ea04f6e478bd9548597809b75808f4..7256b891e929afe874225bd282422261c4c45458 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