[golang/f21] fix gdb init for safe-paths

Vincent Batts vbatts at fedoraproject.org
Tue Jul 15 16:33:29 UTC 2014


commit 3a4853bd325d0f4308054fbf60a83f0d3e730098
Author: Vincent Batts <vbatts at redhat.com>
Date:   Tue Jul 15 12:01:12 2014 -0400

    fix gdb init for safe-paths
    
    bz981356

 golang-gdbinit |    1 -
 golang.spec    |   17 ++++++++++-------
 2 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/golang-gdbinit b/golang-gdbinit
index 0a32958..4ef690b 100644
--- a/golang-gdbinit
+++ b/golang-gdbinit
@@ -1,2 +1 @@
 add-auto-load-safe-path /usr/lib/golang/src/pkg/runtime/runtime-gdb.py
-add-auto-load-safe-path /usr/lib64/golang/src/pkg/runtime/runtime-gdb.py
diff --git a/golang.spec b/golang.spec
index 63263f2..11c91bb 100644
--- a/golang.spec
+++ b/golang.spec
@@ -39,7 +39,7 @@
 
 Name:           golang
 Version:        1.3
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        The Go Programming Language
 
 License:        BSD
@@ -487,7 +487,7 @@ cp -av misc/zsh/go $RPM_BUILD_ROOT%{_datadir}/zsh/site-functions
 
 # gdbinit
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d
-cp -av %{SOURCE100} $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d/golang
+cp -av %{SOURCE100} $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d/golang.gdb
 
 # prelink blacklist
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d
@@ -849,16 +849,19 @@ fi
 
 
 %changelog
-* Tue Jul 08 2014 Vincent Batts <vbatts at fedoraproejct.org> - 1.3-3
+* Tue Jul 15 2014 Vincent Batts <vbatts at fedoraproject.org> - 1.3-4
+- fix the loading of gdb safe-path. bz981356
+
+* Tue Jul 08 2014 Vincent Batts <vbatts at fedoraproject.org> - 1.3-3
 - `go install std` requires gcc, to build cgo. bz1105901, bz1101508
 
-* Mon Jul 07 2014 Vincent Batts <vbatts at fedoraproejct.org> - 1.3-2
+* Mon Jul 07 2014 Vincent Batts <vbatts at fedoraproject.org> - 1.3-2
 - archive/tar memory allocation improvements
 
-* Thu Jun 19 2014 Vincent Batts <vbatts at fedoraproejct.org> - 1.3-1
+* Thu Jun 19 2014 Vincent Batts <vbatts at fedoraproject.org> - 1.3-1
 - update to go1.3
 
-* Fri Jun 13 2014 Vincent Batts <vbatts at fedoraproejct.org> - 1.3rc2-1
+* Fri Jun 13 2014 Vincent Batts <vbatts at fedoraproject.org> - 1.3rc2-1
 - update to go1.3rc2
 
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3rc1-2
@@ -919,7 +922,7 @@ fi
 * Tue Mar 04 2014 Adam Miller <maxamillion at fedoraproject.org> 1.2.1-1
 - Update to latest upstream
 
-* Thu Feb 20 2014 Adam Miller <maxamillion at fedoraproejct.org> 1.2-7
+* Thu Feb 20 2014 Adam Miller <maxamillion at fedoraproject.org> 1.2-7
 - Remove  _BSD_SOURCE and _SVID_SOURCE, they are deprecated in recent
   versions of glibc and aren't needed
 


More information about the scm-commits mailing list