Skip to content

Commit

Permalink
use maximum compression level for RPMs compressed with XZ
Browse files Browse the repository at this point in the history
This can reduce the package size considerably.
  • Loading branch information
ashkulz committed Oct 30, 2014
1 parent 2d91a72 commit 8a1f5b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fpm/package/rpm.rb
Expand Up @@ -24,7 +24,7 @@ class FPM::Package::RPM < FPM::Package

COMPRESSION_MAP = {
"none" => "w0.gzdio",
"xz" => "w2.xzdio",
"xz" => "w9.xzdio",
"gzip" => "w9.gzdio",
"bzip2" => "w9.bzdio"
} unless defined?(COMPRESSION_MAP)
Expand Down

0 comments on commit 8a1f5b2

Please sign in to comment.