From ba08be08fcdc9178d7575f0f2515f4ee2266eccb Mon Sep 17 00:00:00 2001 From: Monday Date: Sun, 13 Sep 2020 10:10:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20gdb=20spec=20=E4=B8=ADpatc?= =?UTF-8?q?h=20=E5=92=8Csource=20=E5=AE=9A=E4=B9=89=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gdb.spec | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/gdb.spec b/gdb.spec index 9ca3cab..eeec063 100644 --- a/gdb.spec +++ b/gdb.spec @@ -28,19 +28,6 @@ at the moment it crashed. This package is only a stub to install gcc-gdb-plugin for 'compile' commands. See package 'gdb-headless'. -%package headless -Summary: The GNU Project debugger for C, C++, Fortran, Go and other languages - -Conflicts: elfutils < 0.149 -Provides: bundled(libiberty) = 20180828 -Provides: bundled(gnulib) = 20161115 -Provides: bundled(binutils) = 20180828 -Provides: bundled(md5-gcc) = 20180828 - -%global librpmso librpm.so.9 - -Recommends: default-yama-scope -Recommends: %{librpmso}()(64bit) Source1: gdb-gstack.man Source2: gdbinit @@ -149,6 +136,20 @@ Patch100: gdb-rhbz1844458-use-fputX_unfiltered.patch Patch101: gdb-rhbz1838777-debuginfod.patch # Fedora patch end +%package headless +Summary: The GNU Project debugger for C, C++, Fortran, Go and other languages + +Conflicts: elfutils < 0.149 +Provides: bundled(libiberty) = 20180828 +Provides: bundled(gnulib) = 20161115 +Provides: bundled(binutils) = 20180828 +Provides: bundled(md5-gcc) = 20180828 + +%global librpmso librpm.so.9 + +Recommends: default-yama-scope +Recommends: %{librpmso}()(64bit) + BuildRequires: rpm-libs autoconf BuildRequires: readline-devel >= 6.2-4 BuildRequires: gcc-c++ ncurses-devel texinfo gettext flex bison -- Gitee