sponsor-patch: Call dpkg-source with --no-preparation to not apply patches

if the packages uses the 3.0 (quilt) format.
This commit is contained in:
Benjamin Drung 2010-11-20 22:07:37 +01:00
parent ab43ddd875
commit bf8f15471f
2 changed files with 7 additions and 2 deletions

7
debian/changelog vendored
View File

@ -1,8 +1,13 @@
ubuntu-dev-tools (0.106) UNRELEASED; urgency=low
[ Kees Cook ]
* mk-sbuild: drop "priority" option; sbuild no longer uses it.
-- Kees Cook <kees@ubuntu.com> Fri, 05 Nov 2010 17:36:28 -0700
[ Benjamin Drung ]
* sponsor-patch: Call dpkg-source with --no-preparation to not apply patches
if the packages uses the 3.0 (quilt) format.
-- Benjamin Drung <bdrung@ubuntu.com> Sat, 20 Nov 2010 22:03:07 +0100
ubuntu-dev-tools (0.105) experimental; urgency=low

View File

@ -409,7 +409,7 @@ def merge_branch(branch):
return edit
def extract_source(dsc_file, verbose=False):
cmd = ["dpkg-source", "-x", dsc_file]
cmd = ["dpkg-source", "--no-preparation", "-x", dsc_file]
if not verbose:
cmd.insert(1, "-q")
Print.command(cmd)