sponsor-patch: Use bzr-builddeb to build branches

This commit is contained in:
Stefano Rivera 2010-08-23 12:23:34 +02:00
parent 7601649315
commit 073e8b1d64

View File

@ -530,7 +530,10 @@ def main(script_name, bug_number, build, edit, keyid, upload, verbose=False):
Print.info("Failed to update timetamp in debian/changelog.")
# Build source package
cmd = ["debuild", "--no-lintian", "-S"]
if patch:
cmd = ['debuild', '--no-lintian', '-S']
elif branch:
cmd = ['bzr', 'bd', '-S', '--', '--no-lintian']
previous_version = task.get_previous_version()
cmd.append("-v" + previous_version.full_version)
if previous_version.upstream_version == changelog.upstream_version \