From a808038ed3e99d702bd96ac50ab17586e269de36 Mon Sep 17 00:00:00 2001 From: Chunmei Xu Date: Fri, 22 Apr 2022 17:45:03 +0800 Subject: [PATCH] build gdb without guile guile will upgrade to 3.0 gdb only compat with guile-2.0 Signed-off-by: Chunmei Xu --- gdb.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/gdb.spec b/gdb.spec index 56fc497..5eb663e 100644 --- a/gdb.spec +++ b/gdb.spec @@ -1,13 +1,13 @@ -%define anolis_release 2 +%define anolis_release 3 %global _python_bytecompile_extra 0 %global librpmso librpm.so.9 Name: gdb Version: 11.2 -Release: 2%{?dist} +Release: %{anolis_release}%{?dist} Summary: GNU Project debugger -License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and L GPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL +License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL URL: https://gnu.org/software/gdb/ Source0: https://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.xz Source1: gdb-gstack.man @@ -107,7 +107,7 @@ BuildRequires: readline-devel >= 6.2-4 BuildRequires: gcc-c++ ncurses-devel texinfo gettext flex bison BuildRequires: expat-devel xz-devel rpm-devel zlib-devel libselinux-devel BuildRequires: python3-devel texinfo-tex -BuildRequires: perl-podlators libbabeltrace-devel guile-devel mpfr-devel +BuildRequires: perl-podlators libbabeltrace-devel mpfr-devel %ifarch x86_64 BuildRequires: libipt-devel %endif @@ -199,7 +199,7 @@ export CXXFLAGS="$CFLAGS" --without-stage1-ldflags \ --disable-libmcheck \ --with-babeltrace \ - --with-guile \ + --without-guile \ --with-system-readline \ --with-expat \ --without-libexpat-prefix \ @@ -303,6 +303,9 @@ find $RPM_BUILD_ROOT/ -name "*.la" -print -delete %changelog +* Fri Apr 22 2022 Chunmei Xu - 11.2-3 +- build gdb without guile, gdb only compat with guile-2.0 + * Mon Apr 11 2022 Chunmei Xu - 11.2-2 - require gdb-headless to make sure gdb works -- Gitee