aboutsummaryrefslogtreecommitdiffstats
path: root/compress_files
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2013-06-26 06:40:46 +0000
committerColin Guthrie <colin@mageia.org>2013-12-22 14:26:28 +0000
commita1f122e88fe2a970ed282b127e10a275daad77f0 (patch)
treef391fb29ac8f88f3be04979d7d906ac769b0cf29 /compress_files
parent97a852f6b6218f307d6b31a7c5bf67a509fae3ba (diff)
downloadspec-helper-a1f122e88fe2a970ed282b127e10a275daad77f0.tar
spec-helper-a1f122e88fe2a970ed282b127e10a275daad77f0.tar.gz
spec-helper-a1f122e88fe2a970ed282b127e10a275daad77f0.tar.bz2
spec-helper-a1f122e88fe2a970ed282b127e10a275daad77f0.tar.xz
spec-helper-a1f122e88fe2a970ed282b127e10a275daad77f0.zip
Use xz -2ef options to optimize compression for man and info files, which are almost always <2MB
Note: This commit was accidentally missed when importing from subversion and has now been restored.
Diffstat (limited to 'compress_files')
-rwxr-xr-xcompress_files2
1 files changed, 1 insertions, 1 deletions
diff --git a/compress_files b/compress_files
index 7831d07..0d90c42 100755
--- a/compress_files
+++ b/compress_files
@@ -117,7 +117,7 @@ if (@files) {
my @command = $ext eq '.gz' ? qw(gzip -9f)
: $ext eq '.bz2' ? qw(bzip2 -9f)
: $ext eq '.lzma' ? qw(lzma -9f --text)
- : $ext eq '.xz' ? qw(xz -f)
+ : $ext eq '.xz' ? qw(xz -2ef)
: qw()
;
xargs(\@files, @command)