summaryrefslogtreecommitdiff
path: root/rpmio/macro.c
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-04-24 15:57:23 +0300
committerPanu Matilainen <pmatilai@redhat.com>2011-04-29 08:49:05 +0300
commite254f9b9d4869ea9ee783d3c68a3d2e293e63345 (patch)
tree284ed1f095c87975f9ce3cf3671eec4de796d5bc /rpmio/macro.c
parentbcad08867d9c9550d80f9ca8ba42c4e27d3c493b (diff)
downloadrpm-e254f9b9d4869ea9ee783d3c68a3d2e293e63345.tar.gz
rpm-e254f9b9d4869ea9ee783d3c68a3d2e293e63345.tar.bz2
rpm-e254f9b9d4869ea9ee783d3c68a3d2e293e63345.zip
Add lrzip 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 9444283eb..8ea481954 100644
--- a/rpmio/macro.c
+++ b/rpmio/macro.c
@@ -962,6 +962,9 @@ doFoo(MacroBuf mb, int negate, const char * f, size_t fn,
case COMPRESSED_LZIP:
sprintf(be, "%%__lzip -dc %s", b);
break;
+ case COMPRESSED_LRZIP:
+ sprintf(be, "%%__lrzip -dqo- %s", b);
+ break;
}
b = be;
} else if (STREQ("getenv", f, fn)) {