diff options
author | Ed Bartosh <eduard.bartosh@intel.com> | 2012-05-03 17:18:10 +0300 |
---|---|---|
committer | Ed Bartosh <eduard.bartosh@intel.com> | 2012-05-09 10:54:24 +0300 |
commit | b211190e85c503d0d7b5d587d38c20959a600ac3 (patch) | |
tree | aa5c4f647b9500782eb0e4fcb1cf73da28f6009f /gbp/scripts | |
parent | 3a37f412908fcfaeccebdf172671bdf2a723fd92 (diff) | |
download | git-buildpackage-b211190e85c503d0d7b5d587d38c20959a600ac3.tar.gz git-buildpackage-b211190e85c503d0d7b5d587d38c20959a600ac3.tar.bz2 git-buildpackage-b211190e85c503d0d7b5d587d38c20959a600ac3.zip |
Fixed guessing of compressor type
Change-Id: I29f1854316fb3f4d9429f1d0627435c64a6ad5d1
Diffstat (limited to 'gbp/scripts')
-rwxr-xr-x | gbp/scripts/buildpackage_rpm.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py index a8029ad4..de50236b 100755 --- a/gbp/scripts/buildpackage_rpm.py +++ b/gbp/scripts/buildpackage_rpm.py @@ -196,6 +196,8 @@ def git_archive_build_orig(repo, spec, output_dir, options): def guess_comp_type(spec): + if spec.orig_comp in compressor_opts: + return spec.orig_comp return compressor_aliases.get(spec.orig_comp, None) |