From: Panu Matilainen Date: Fri, 27 Mar 2009 12:11:43 +0000 (+0200) Subject: Handle XZ in %uncompress macro X-Git-Tag: tznext/4.11.0.1.tizen20130304~3030 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d63df622037796279514a4da3ddc6807a102c1d;p=tools%2Flibrpm-tizen.git Handle XZ in %uncompress macro - should've been in commit 8078d0ba24662308b10d9eb0f0da978584b7e757 --- diff --git a/rpmio/macro.c b/rpmio/macro.c index c55b9e2..32eb6ec 100644 --- a/rpmio/macro.c +++ b/rpmio/macro.c @@ -981,6 +981,9 @@ doFoo(MacroBuf mb, int negate, const char * f, size_t fn, case COMPRESSED_LZMA: sprintf(be, "%%__lzma -dc %s", b); break; + case COMPRESSED_XZ: + sprintf(be, "%%__xz -dc %s", b); + break; } b = be; } else if (STREQ("getenv", f, fn)) {