From d45bb86bcd9d03a78b2a5f586645c85ca422fb01 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Sun, 17 Jun 2012 19:54:40 +0100 Subject: [PATCH] Work when there's no DEBEMAIL too --- backportpackage | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backportpackage b/backportpackage index 3d53a9f..98b8048 100755 --- a/backportpackage +++ b/backportpackage @@ -323,7 +323,9 @@ def do_backport(workdir, pkg, suffix, close, release, release_pocket, build, if old_version: cmd.append('-v%s' % old_version) env = os.environ.copy() - del env['DEBEMAIL'] + # An ubuntu.com e-mail address would make dpkg-buildpackage fail if there + # wasn't an Ubuntu maintainer for an ubuntu-versioned package. LP: #1007042 + env.pop('DEBEMAIL', None) check_call(cmd, cwd=srcdir, env=env) fn_base = pkg.source + '_' + bp_version.split(':', 1)[-1]