From 096d5612e7898c35afb84867d8d242857d2fddad Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Wed, 16 Nov 2022 18:37:56 +0100 Subject: [PATCH] sponsor-patch: Use --skip-patches when extract source package Use `--skip-patches` when extract source packages with `dpkg-source`. `--no-preparation` is a source package build option and `--skip-patches` is the correct extract option. Signed-off-by: Benjamin Drung --- ubuntutools/sponsor_patch/sponsor_patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntutools/sponsor_patch/sponsor_patch.py b/ubuntutools/sponsor_patch/sponsor_patch.py index d873a81..bd9baa9 100644 --- a/ubuntutools/sponsor_patch/sponsor_patch.py +++ b/ubuntutools/sponsor_patch/sponsor_patch.py @@ -181,7 +181,7 @@ def merge_branch(branch): def extract_source(dsc_file, verbose=False): - cmd = ["dpkg-source", "--no-preparation", "-x", dsc_file] + cmd = ["dpkg-source", "--skip-patches", "-x", dsc_file] if not verbose: cmd.insert(1, "-q") Logger.debug(' '.join(cmd))