!279 SPEC: add build-require 'bison' for LoongArch

From: @ticat-fp 
Reviewed-by: @eastb233 
Signed-off-by: @eastb233
This commit is contained in:
openeuler-ci-bot 2024-05-20 11:03:25 +00:00 committed by Gitee
commit 20b2d44f77
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Summary: A GNU collection of binary utilities Summary: A GNU collection of binary utilities
Name: binutils%{?_with_debug:-debug} Name: binutils%{?_with_debug:-debug}
Version: 2.41 Version: 2.41
Release: 4 Release: 5
License: GPL-3.0-or-later AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND BSD-3-Clause AND GFDL-1.3-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later License: GPL-3.0-or-later AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND BSD-3-Clause AND GFDL-1.3-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later
URL: https://sourceware.org/binutils URL: https://sourceware.org/binutils
@ -288,6 +288,10 @@ BuildRequires: zlib-devel
BuildRequires: elfutils-debuginfod-client-devel BuildRequires: elfutils-debuginfod-client-devel
%endif %endif
%ifarch loongarch64
BuildRequires: bison
%endif
Requires(post): %{_sbindir}/alternatives Requires(post): %{_sbindir}/alternatives
Requires(preun): %{_sbindir}/alternatives Requires(preun): %{_sbindir}/alternatives
# We also need rm. # We also need rm.
@ -1266,6 +1270,9 @@ exit 0
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
%changelog %changelog
* Mon Apr 15 2024 Peng Fan <fanpeng@loongson.cn> - 2.41-5
- SPEC: add build-require 'bison' for LoongArch
* Wed Mar 13 2024 peng.zou <peng.zou@shingroup.cn> - 2.41-4 * Wed Mar 13 2024 peng.zou <peng.zou@shingroup.cn> - 2.41-4
- add ppc64le support to fix error about gold - add ppc64le support to fix error about gold