summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-10-10 08:39:01 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-10-10 08:39:01 +0200
commit272d591973ce001d50c745f1796873e8ad1e8d77 (patch)
tree0ace1ac1896d255fbc6c477b556865c515b06541 /build
parent9f7a8dab5928a60ab641e480f921251a93ffa0be (diff)
downloadlibrpm-tizen-272d591973ce001d50c745f1796873e8ad1e8d77.tar.gz
librpm-tizen-272d591973ce001d50c745f1796873e8ad1e8d77.tar.bz2
librpm-tizen-272d591973ce001d50c745f1796873e8ad1e8d77.zip
Add support for lzma compressed "Sources".
Diffstat (limited to 'build')
-rw-r--r--build/parsePrep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/parsePrep.c b/build/parsePrep.c
index 785530aed..431076b3b 100644
--- a/build/parsePrep.c
+++ b/build/parsePrep.c
@@ -241,6 +241,9 @@ static const char *doUntar(rpmSpec spec, int c, int quietly)
t = "%{_unzipbin} -qq";
needtar = 0;
break;
+ case COMPRESSED_LZMA:
+ t = "%{__lzma} -dc";
+ break;
}
zipper = rpmGetPath(t, NULL);
buf[0] = '\0';