!33 [sync] PR-31: 修复config.guess和config.sub文件更新在所有架构上不生效的问题

From: @openeuler-sync-bot 
Reviewed-by: @licunlong 
Signed-off-by: @licunlong
This commit is contained in:
openeuler-ci-bot 2023-08-11 01:07:50 +00:00 committed by Gitee
commit d30b39bfcd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,10 +1,9 @@
%global _configure_gnuconfig_hack 0
%global __requires_exclude ^perl\\(Automake::
%global __provides_exclude ^perl\\(Automake::
Name: automake
Version: 1.16.5
Release: 6
Release: 7
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/
@ -34,10 +33,8 @@ with the GNU Coding Standards. Automake requires the use of Autoconf.
%build
autoreconf -iv
%ifarch loongarch64
%_update_config_guess
%_update_config_sub
%endif
%configure
%make_build
@ -71,6 +68,9 @@ fi
%{_mandir}/man1/*
%changelog
* Tue Aug 8 2023 panchenbo <panchenbo@kylinsec.com.cn> - 1.16.5-7
- fix update config not effective
* Mon Apr 24 2023 tianyuan <tianyuan01@chinasoftinc.com> - 1.16.5-6
- fix changelog info