diff -u python2.7-2.7.11/debian/changelog python2.7-2.7.11/debian/changelog --- python2.7-2.7.11/debian/changelog +++ python2.7-2.7.11/debian/changelog @@ -1,3 +1,9 @@ +python2.7 (2.7.11-7ubuntu1) xenial; urgency=medium + + * Fix gdb auto-load symlink for the python2.7 binary. LP: #1571198. + + -- Matthias Klose Sun, 17 Apr 2016 16:00:29 +0200 + python2.7 (2.7.11-7) unstable; urgency=medium * Update to 20160330 from the 2.7 branch. diff -u python2.7-2.7.11/debian/control python2.7-2.7.11/debian/control --- python2.7-2.7.11/debian/control +++ python2.7-2.7.11/debian/control @@ -1,8 +1,9 @@ Source: python2.7 Section: python Priority: optional -Maintainer: Matthias Klose -Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.17.11), gcc-5 (>= 5.3.1), +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Matthias Klose +Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.17.11), quilt, autoconf, autotools-dev, lsb-release, sharutils, libreadline-dev, libtinfo-dev, libncursesw5-dev (>= 5.3), diff -u python2.7-2.7.11/debian/rules python2.7-2.7.11/debian/rules --- python2.7-2.7.11/debian/rules +++ python2.7-2.7.11/debian/rules @@ -1322,7 +1322,7 @@ | xargs -n 1 $(DEB_HOST_GNU_TYPE)-objcopy -p --remove-section=.gnu.lto_.* dh_strip -a -N$(p_dbg) -N$(p_ldbg) -Xdebug -Xdbg --dbg-package=$(p_dbg) mkdir -p $(d_dbg)/usr/share/gdb/auto-load/usr/bin - cp Tools/gdb/libpython.py $(d_dbg)/usr/share/gdb/auto-load/usr/bin/$(PVER)m-gdb.py + cp Tools/gdb/libpython.py $(d_dbg)/usr/share/gdb/auto-load/usr/bin/$(PVER)-gdb.py ln -sf $(PVER)-gdb.py $(d_dbg)/usr/share/gdb/auto-load/usr/bin/$(PVER)-dbg-gdb.py mkdir -p $(d_dbg)/usr/share/gdb/auto-load/usr/lib/$(DEB_HOST_MULTIARCH) ln -sf ../../bin/$(PVER)-gdb.py \