submittodebian; Unset DEBEMAIL when building source package.

(LP: #1015066)
This commit is contained in:
Stefano Rivera 2012-06-20 22:44:12 +02:00
parent 4056e98a43
commit 605b27a550
2 changed files with 8 additions and 3 deletions

6
debian/changelog vendored
View File

@ -5,8 +5,8 @@ ubuntu-dev-tools (0.143) UNRELEASED; urgency=low
.orig.tar.foo files (to determine if we need to upload it again or not).
(LP: #1007908)
* backportpackage: Unset DEBEMAIL when building source package. Fixes error
when building backports for packages with no Ubuntu changes. (LP:
#1007042)
when building backports for packages with no Ubuntu changes.
(LP: #1007042)
[ Mathieu Trudel-Lapierre ]
* mk-sbuild: use and update messages to suggest using the source:$chroot way
@ -28,6 +28,8 @@ ubuntu-dev-tools (0.143) UNRELEASED; urgency=low
data cached (LP: #1008783)
* ubuntutools.archive: Improve error handling around rmadison calls
(LP: #1010951)
* submittodebian; Unset DEBEMAIL when building source package.
(LP: #1015066)
-- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Wed, 06 Jun 2012 09:53:24 -0400

View File

@ -75,7 +75,10 @@ def build_source_package():
cmd = ['bzr', 'bd', '-S', '--', '-uc', '-us', '-nc']
else:
cmd = ['debuild', '-S', '-uc', '-us', '-nc']
check_call(cmd)
env = os.environ.copy()
# Unset DEBEMAIL in case there's an @ubuntu.com e-mail address
env.pop('DEBEMAIL', None)
check_call(cmd, env=env)
def gen_debdiff(tmpdir, changelog):