fix update config.sub and config.guess
(cherry picked from commit d5527d9ba0f60571c5d1e6f9dee615b95bc05519)
This commit is contained in:
parent
d30b39bfcd
commit
cc4451595a
@ -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
1479
config.guess
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1835
config.sub
vendored
Normal file
1835
config.sub
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user