From 4c0b65685056578f2d50334d2333b8c97b8636c7 Mon Sep 17 00:00:00 2001 From: Monday Date: Sun, 13 Sep 2020 10:14:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9spec=20=E4=B8=AD=E8=A1=A5?= =?UTF-8?q?=E4=B8=81=E5=92=8Csource=20=E7=9A=84=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gdb.spec | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/gdb.spec b/gdb.spec index 9ca3cab..b759216 100644 --- a/gdb.spec +++ b/gdb.spec @@ -28,20 +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 +135,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 @@ -394,6 +394,9 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/gdb/python/gdb/command/backtrace.py %{_infodir}/gdb.info* %changelog +* Sun sep 13 2020 licihua - 9.2-2 +- Change the sequence of patch and sources + * Wed Jul 22 2020 qinyu - 9.2-1 - upgrade GDB version to 9.2 -- Gitee