diff --git a/debian/changelog b/debian/changelog index 7b412a7641f185095f4d57643b387a8965be4486..78068750161dc320f3b5befe9d8a34d122b8b91f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,8 @@ python-defaults (2.7.2-6) UNRELEASED; urgency=low private directory - dist_fallback: add /usr/share/python-support/package/ to paths searched for Egg metadata; add "wsgiref" and "python" fallbacks + - do not try to remove .so.foo symlinks twice (if files were listed in an + unfortunate order) -- Scott Kitterman <scott@kitterman.com> Sat, 03 Sep 2011 11:21:35 -0400 diff --git a/dh_python2 b/dh_python2 index f2150873df7df88280bfc05468b58545ce1cf99d..623fc298a6090e660f0478f4e0ff446dc0513914 100755 --- a/dh_python2 +++ b/dh_python2 @@ -393,6 +393,7 @@ def scan(package, dname=None, clean_dbg_pkg=True): for lpath in links: log.info('removing symlink: %s', lpath) os.remove(lpath) + file_names.remove(split(lpath)[-1]) log.info('renaming %s to %s', dstfpath, fn) os.rename(dstfpath, fpath) if dbg_package and clean_dbg_pkg and fext not in ('so', 'h'):