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:24:09 +02:00
parent 0a5812f168
commit 4d28dfb9e6
2 changed files with 5 additions and 2 deletions

4
debian/changelog vendored
View File

@ -5,8 +5,10 @@ ubuntu-dev-tools (0.144) quantal; urgency=low
lintian twice.
- Use --include instead of --attach when not using reportbug's internal
MUA.
- 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 13:20:29 +0200
-- Stefano Rivera <stefanor@ubuntu.com> Mon, 02 Jul 2012 19:23:15 +0200
ubuntu-dev-tools (0.143) unstable; urgency=low

View File

@ -72,7 +72,8 @@ Thanks for considering the patch.
def build_source_package():
if os.path.isdir('.bzr'):
cmd = ['bzr', 'bd', '-S', '--', '-uc', '-us', '-nc']
cmd = ['bzr', 'bd', '--builder=dpkg-buildpackage', '-S',
'--', '-uc', '-us', '-nc']
else:
cmd = ['dpkg-buildpackage', '-S', '-uc', '-us', '-nc']
env = os.environ.copy()