aboutsummaryrefslogtreecommitdiff
path: root/gbp/scripts/buildpackage_rpm.py
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-10-05 14:01:18 +0300
committerGuido G√ľnther <agx@sigxcpu.org>2015-12-02 18:50:32 +0100
commit0f2f346678aaea585ca4f58367f581239712db16 (patch)
tree7072ade96ae3a5638a70664f16ea16ae8350af00 /gbp/scripts/buildpackage_rpm.py
parent4e7f692385376f6371283653f5f01d49df020c45 (diff)
buildpackage_rpm: use correct archive format
Use correct archive format also with git_archive_single(). Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'gbp/scripts/buildpackage_rpm.py')
-rw-r--r--gbp/scripts/buildpackage_rpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py
index 1ef3c4e..2841f82 100644
--- a/gbp/scripts/buildpackage_rpm.py
+++ b/gbp/scripts/buildpackage_rpm.py
@@ -77,7 +77,7 @@ def git_archive(repo, spec, output_dir, treeish, prefix, comp_level,
else:
git_archive_single(treeish, output, prefix,
spec.orig_src['compression'], comp_level,
- comp_opts)
+ comp_opts, spec.orig_src['archive_fmt'])
except (GitRepositoryError, CommandExecFailed):
gbp.log.err("Error generating submodules' archives")
return False