sponsor-patch: Pass --builder=dpkg-buildpackage to bzr bd, in case the user has configured a custom builder that doesn't do source builds (LP: #1019817)

This commit is contained in:
Stefano Rivera 2012-07-02 19:27:00 +02:00
parent 4d28dfb9e6
commit c946f9457f
2 changed files with 4 additions and 2 deletions

3
debian/changelog vendored
View File

@ -5,10 +5,11 @@ ubuntu-dev-tools (0.144) quantal; urgency=low
lintian twice.
- Use --include instead of --attach when not using reportbug's internal
MUA.
* submittodebian, sponsor-patch:
- Pass --builder=dpkg-buildpackage to bzr bd, in case the user has
configured a custom builder that doesn't do source builds (LP: #1019817)
-- Stefano Rivera <stefanor@ubuntu.com> Mon, 02 Jul 2012 19:23:15 +0200
-- Stefano Rivera <stefanor@ubuntu.com> Mon, 02 Jul 2012 19:26:32 +0200
ubuntu-dev-tools (0.143) unstable; urgency=low

View File

@ -225,7 +225,8 @@ class SourcePackage(object):
"""
if self._branch:
cmd = ['bzr', 'builddeb', '-S', '--', '--no-lintian', '-nc']
cmd = ['bzr', 'builddeb', '--builder=debuild', '-S',
'--', '--no-lintian', '-nc']
else:
cmd = ['debuild', '--no-lintian', '-nc', '-S']
cmd.append("-v" + previous_version.full_version)