summaryrefslogtreecommitdiff
path: root/build/parsePrep.c
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-04-24 15:56:11 +0300
committerPanu Matilainen <pmatilai@redhat.com>2011-04-29 08:48:56 +0300
commitbcad08867d9c9550d80f9ca8ba42c4e27d3c493b (patch)
tree1e99338e9d6283b66ff46c8d026602dd32bd9cdc /build/parsePrep.c
parentfe8d88872bc7109a8cc1b75bc8e4689ed2135bf4 (diff)
downloadrpm-bcad08867d9c9550d80f9ca8ba42c4e27d3c493b.tar.gz
rpm-bcad08867d9c9550d80f9ca8ba42c4e27d3c493b.tar.bz2
rpm-bcad08867d9c9550d80f9ca8ba42c4e27d3c493b.zip
Add lzip support.
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Diffstat (limited to 'build/parsePrep.c')
-rw-r--r--build/parsePrep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/parsePrep.c b/build/parsePrep.c
index de2b2a00a..35d54b497 100644
--- a/build/parsePrep.c
+++ b/build/parsePrep.c
@@ -188,6 +188,9 @@ static char *doUntar(rpmSpec spec, uint32_t c, int quietly)
case COMPRESSED_XZ:
t = "%{__xz} -dc";
break;
+ case COMPRESSED_LZIP:
+ t = "%{__lzip} -dc";
+ break;
}
zipper = rpmGetPath(t, NULL);
if (needtar) {