From 9f0e33046b121fbe4e1bd40d4bf1fe62c15d134f Mon Sep 17 00:00:00 2001 From: ticat_fp Date: Mon, 15 Apr 2024 10:21:20 +0800 Subject: [PATCH] SPEC: add build-require 'bison' for LoongArch Signed-off-by: ticat_fp --- binutils.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/binutils.spec b/binutils.spec index 4f47bef..1ec6b5b 100644 --- a/binutils.spec +++ b/binutils.spec @@ -2,7 +2,7 @@ Summary: A GNU collection of binary utilities Name: binutils%{?_with_debug:-debug} 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 URL: https://sourceware.org/binutils @@ -288,6 +288,10 @@ BuildRequires: zlib-devel BuildRequires: elfutils-debuginfod-client-devel %endif +%ifarch loongarch64 +BuildRequires: bison +%endif + Requires(post): %{_sbindir}/alternatives Requires(preun): %{_sbindir}/alternatives # We also need rm. @@ -1266,6 +1270,9 @@ exit 0 #---------------------------------------------------------------------------- %changelog +* Mon Apr 15 2024 Peng Fan - 2.41-5 +- SPEC: add build-require 'bison' for LoongArch + * Wed Mar 13 2024 peng.zou - 2.41-4 - add ppc64le support to fix error about gold -- Gitee