backportpackage: Unset DEBEMAIL when building source package. Fixes error

when building backports for packages with no Ubuntu changes. (LP: #1007042)
This commit is contained in:
Iain Lane 2012-06-17 19:50:15 +01:00 committed by Stefano Rivera
commit 024e48dcba
2 changed files with 6 additions and 1 deletions

View File

@ -322,7 +322,9 @@ def do_backport(workdir, pkg, suffix, close, release, release_pocket, build,
cmd.append('-sd') cmd.append('-sd')
if old_version: if old_version:
cmd.append('-v%s' % old_version) cmd.append('-v%s' % old_version)
check_call(cmd, cwd=srcdir) env = os.environ.copy()
del env['DEBEMAIL']
check_call(cmd, cwd=srcdir, env=env)
fn_base = pkg.source + '_' + bp_version.split(':', 1)[-1] fn_base = pkg.source + '_' + bp_version.split(':', 1)[-1]
changes = fn_base + '_source.changes' changes = fn_base + '_source.changes'

3
debian/changelog vendored
View File

@ -4,6 +4,9 @@ ubuntu-dev-tools (0.143) UNRELEASED; urgency=low
* backportpackage: Fix filenames searched when looking for existing * backportpackage: Fix filenames searched when looking for existing
.orig.tar.foo files (to determine if we need to upload it again or not). .orig.tar.foo files (to determine if we need to upload it again or not).
(LP: #1007908) (LP: #1007908)
* backportpackage: Unset DEBEMAIL when building source package. Fixes error
when building backports for packages with no Ubuntu changes. (LP:
#1007042)
[ Mathieu Trudel-Lapierre ] [ Mathieu Trudel-Lapierre ]
* mk-sbuild: use and update messages to suggest using the source:$chroot way * mk-sbuild: use and update messages to suggest using the source:$chroot way