diff options
author | Guillem Jover <guillem@debian.org> | 2013-12-29 20:42:23 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2014-01-15 15:02:16 +0100 |
commit | 583ee7f304c91fe314a70ca82a55a6c53825609e (patch) | |
tree | e3e8b2edfba336318bad2b6ad6ecbc386c6e388f /scripts/dpkg-source.pl | |
parent | f6b8ce21bec490e6348fccbcb0086bf3909516b7 (diff) | |
download | dpkg-583ee7f304c91fe314a70ca82a55a6c53825609e.tar.gz |
dpkg-source: Set default compression options in source format specific modules
This paves the way to be able to set package format specific defaults,
and fixes a problem with the default compression level on “3.0 (native)”
packages, as it was being set in dpkg-source but not reset when the
compressor was changed.
Closes: #733326
Diffstat (limited to 'scripts/dpkg-source.pl')
-rwxr-xr-x | scripts/dpkg-source.pl | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/dpkg-source.pl b/scripts/dpkg-source.pl index a0ca3fa12..0770b5ba7 100755 --- a/scripts/dpkg-source.pl +++ b/scripts/dpkg-source.pl @@ -59,10 +59,6 @@ my $changelogformat; my $build_format; my %options = ( - # Compression related - compression => compression_get_default(), - comp_level => compression_get_default_level(), - comp_ext => compression_get_property(compression_get_default(), 'file_ext'), # Ignore files tar_ignore => [], diff_ignore_regex => '', @@ -149,7 +145,6 @@ while (@options) { } elsif (m/^-(?:Z|-compression=)(.*)$/) { my $compression = $1; $options{compression} = $compression; - $options{comp_ext} = compression_get_property($compression, 'file_ext'); usageerr(_g('%s is not a supported compression'), $compression) unless compression_is_supported($compression); compression_set_default($compression); |