summaryrefslogtreecommitdiff
path: root/rpmio/macro.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 /rpmio/macro.c
parentfe8d88872bc7109a8cc1b75bc8e4689ed2135bf4 (diff)
downloadlibrpm-tizen-bcad08867d9c9550d80f9ca8ba42c4e27d3c493b.tar.gz
librpm-tizen-bcad08867d9c9550d80f9ca8ba42c4e27d3c493b.tar.bz2
librpm-tizen-bcad08867d9c9550d80f9ca8ba42c4e27d3c493b.zip
Add lzip support.
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Diffstat (limited to 'rpmio/macro.c')
-rw-r--r--rpmio/macro.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpmio/macro.c b/rpmio/macro.c
index 98830d28a..9444283eb 100644
--- a/rpmio/macro.c
+++ b/rpmio/macro.c
@@ -959,6 +959,9 @@ doFoo(MacroBuf mb, int negate, const char * f, size_t fn,
case COMPRESSED_XZ:
sprintf(be, "%%__xz -dc %s", b);
break;
+ case COMPRESSED_LZIP:
+ sprintf(be, "%%__lzip -dc %s", b);
+ break;
}
b = be;
} else if (STREQ("getenv", f, fn)) {