From c946f9457f171babc9ca4021010049f8e3ee676f Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Mon, 2 Jul 2012 19:27:00 +0200 Subject: [PATCH] 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) --- debian/changelog | 3 ++- ubuntutools/sponsor_patch/source_package.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index b8c7f7d..9777cca 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Mon, 02 Jul 2012 19:23:15 +0200 + -- Stefano Rivera Mon, 02 Jul 2012 19:26:32 +0200 ubuntu-dev-tools (0.143) unstable; urgency=low diff --git a/ubuntutools/sponsor_patch/source_package.py b/ubuntutools/sponsor_patch/source_package.py index b5c0d96..a26ba5b 100644 --- a/ubuntutools/sponsor_patch/source_package.py +++ b/ubuntutools/sponsor_patch/source_package.py @@ -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)