!38 [sync] PR-36: fix update config.sub and config.guess

From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-02-27 09:21:11 +00:00 committed by Gitee
commit c8c6d11d52
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 3326 additions and 1 deletions

View File

@ -3,11 +3,13 @@
Name: automake
Version: 1.16.5
Release: 7
Release: 8
Summary: A tool for automatically generating Makefile.in files
License: GPLv2+ and GFDL and Public Domain and MIT
URL: http://www.gnu.org/software/automake/
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Source1: http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
Source2: http://git.savannah.gnu.org/cgit/config.git/plain/config.guess
BuildArch: noarch
@ -33,8 +35,14 @@ with the GNU Coding Standards. Automake requires the use of Autoconf.
%build
autoreconf -iv
%ifarch loongarch64 sw_64
%_update_config_guess
%_update_config_sub
%else
cp %{SOURCE1} ./lib/config.sub
cp %{SOURCE2} ./lib/config.guess
%endif
%configure
%make_build
@ -68,6 +76,9 @@ fi
%{_mandir}/man1/*
%changelog
* Wed Nov 29 2023 peng.zou <peng.zou@shingroup.cn> - 1.16.5-8
- fix update config.sub and config.guess
* Tue Aug 8 2023 panchenbo <panchenbo@kylinsec.com.cn> - 1.16.5-7
- fix update config not effective

1479
config.guess vendored Normal file

File diff suppressed because it is too large Load Diff

1835
config.sub vendored Normal file

File diff suppressed because it is too large Load Diff