* Shuffle old Debian changelog entries around to match the Debian layout and reduce the diff. * Drop /usr/share/doc/python-libxml2-dbg -> python-libxml2 symlink which was added to optimize disk space, the -dbg package is huge anyway. Add a preinst snippet to deal with upgrades. * Merge with Debian. - Keep the new Debian build-deps "libreadline-dev | libreadline5-dev" since this should work fine with Ubuntu buildds reinstalling everything on each build. - Drop duplicate -Wall and -g from -dbg CFLAGS. - Drop addition of -Wl,-Bsymbolic-functions to LDFLAGS since LDFLAGS aren't overriden in the Debian rules anymore. - Don't set PYTHON_VERSION and PYTHON_SITE_PACKAGES during python$*-dbg builds since these should be correct already. - Drop explicit zlib1g-dev dep, .pc only mentions zlib in Libs.private and the .la file isn't shipped anymore, so there should be no mention of -lz requiring this anymore. - Rework creation of -dbg package (python$*-dbg) for the new dh 7 rules; install to debian/tmp-dbg. - Remaining changes: + Add python-libxml2-dbg package built with python$*-dbg and these CFLAGS: -Wall -Wextra -g -O0 -fno-strict-aliasing -pedantic. + Add libxml2-udeb package. + Fix debian/python-libxml2.install to cope with builds which don't have any site-packages based python versions. + rm -rf build-python$* in configure-python% to fix FTBFS. * Fix dependency of python-libxml2-dbg on python-libxml2 to use ${binary:Version}, not ${source:Version}. * Add ${misc:Depends} to python-libxml2-dbg.