rpms/gdb/F-12 gdb-6.6-buildid-locate-rpm.patch, 1.6, 1.7 gdb.spec, 1.417, 1.418

Jan Kratochvil jkratoch at fedoraproject.org
Tue Jan 12 19:05:27 UTC 2010


Author: jkratoch

Update of /cvs/pkgs/rpms/gdb/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23668

Modified Files:
	gdb-6.6-buildid-locate-rpm.patch gdb.spec 
Log Message:
* Tue Jan 12 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.0.1-25.fc12
- non-librpm missing debuginfo yumcommand now prints also --disablerepo='*'
  to save some bandwidth by yum (Robin Green, BZ 554152).


gdb-6.6-buildid-locate-rpm.patch:
 acinclude.m4                 |    4 
 aclocal.m4                   |  156 ++++++++
 config.in                    |    6 
 configure                    |  752 ++++++++++++++++++++++++++++---------------
 configure.ac                 |  193 +++++++++++
 event-top.c                  |    5 
 symfile.c                    |  389 +++++++++++++++++++++-
 symfile.h                    |    1 
 testsuite/lib/gdb.exp        |    2 
 testsuite/lib/mi-support.exp |    2 
 tui/tui-interp.c             |    3 
 11 files changed, 1251 insertions(+), 262 deletions(-)

Index: gdb-6.6-buildid-locate-rpm.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/F-12/gdb-6.6-buildid-locate-rpm.patch,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- gdb-6.6-buildid-locate-rpm.patch	10 Sep 2009 21:37:39 -0000	1.6
+++ gdb-6.6-buildid-locate-rpm.patch	12 Jan 2010 19:05:27 -0000	1.7
@@ -48,7 +48,7 @@ Index: gdb-6.8.50.20090909/gdb/symfile.c
  
  
  int (*deprecated_ui_load_progress_hook) (const char *section, unsigned long num);
-@@ -1673,8 +1675,352 @@ build_id_to_filename (struct build_id *b
+@@ -1673,8 +1675,353 @@ build_id_to_filename (struct build_id *b
    return retval;
  }
  
@@ -258,7 +258,8 @@ Index: gdb-6.8.50.20090909/gdb/symfile.c
 +
 +	  /* Base package name for `debuginfo-install'.  We do not use the
 +	     `yum' command directly as the line
-+		 yum --enablerepo='*-debuginfo' install NAME-debuginfo.ARCH
++		 yum --disablerepo='*' --enablerepo='*-debuginfo' \
++		     install NAME-debuginfo.ARCH
 +	     would be more complicated than just:
 +		 debuginfo-install NAME-VERSION-RELEASE.ARCH
 +	     Do not supply the rpm base name (derived from .src.rpm name) as
@@ -398,7 +399,7 @@ Index: gdb-6.8.50.20090909/gdb/symfile.c
 +
  /* This MISSING_FILEPAIR_HASH tracker is used only for the duplicite messages
 -     Try to install the hash file ...
-+     yum --enablerepo='*-debuginfo' install ...
++     yum --disablerepo='*' --enablerepo='*-debuginfo' install ...
     avoidance.  */
  
  struct missing_filepair
@@ -420,7 +421,7 @@ Index: gdb-6.8.50.20090909/gdb/symfile.c
    missing_filepair_change ();
  }
  
-@@ -1799,14 +2151,33 @@ debug_print_missing (const char *binary,
+@@ -1799,14 +2151,34 @@ debug_print_missing (const char *binary,
  
    *slot = missing_filepair;
  
@@ -456,7 +457,8 @@ Index: gdb-6.8.50.20090909/gdb/symfile.c
 +			    _("Missing separate debuginfo for %s\n"), binary);
 +        if (debug != NULL)
 +	  fprintf_unfiltered (gdb_stdlog, _("Try: %s %s\n"),
-+			      "yum --enablerepo='*-debuginfo' install", debug);
++			      "yum --disablerepo='*' --enablerepo='*-debuginfo'"
++			      " install", debug);
 +      }
  }
  


Index: gdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/F-12/gdb.spec,v
retrieving revision 1.417
retrieving revision 1.418
diff -u -p -r1.417 -r1.418
--- gdb.spec	10 Jan 2010 18:39:30 -0000	1.417
+++ gdb.spec	12 Jan 2010 19:05:27 -0000	1.418
@@ -36,7 +36,7 @@ Version: 7.0.1
 
 # The release always contains a leading reserved number, start it at 1.
 # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
-Release: 24%{?_with_upstream:.upstream}%{dist}
+Release: 25%{?_with_upstream:.upstream}%{dist}
 
 License: GPLv3+
 Group: Development/Debuggers
@@ -1014,6 +1014,10 @@ fi
 %endif
 
 %changelog
+* Tue Jan 12 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.0.1-25.fc12
+- non-librpm missing debuginfo yumcommand now prints also --disablerepo='*'
+  to save some bandwidth by yum (Robin Green, BZ 554152).
+
 * Sun Jan 10 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.0.1-24.fc12
 - testsuite: BuildRequires also valgrind.
 



More information about the scm-commits mailing list