diff --git a/gdb.spec b/gdb.spec index 56fc4975d9cab92c15cfb1bd3c219dce583e5ae2..5eb663e7f4cc10a4e00f3a402d036dc15e34ba88 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