From 8078d0ba24662308b10d9eb0f0da978584b7e757 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 18 Mar 2009 09:42:23 +0200 Subject: LZMA -> XZ renaming - what we support now in payloads is XZ, not the former LZMA format, rename user- and header-visible parts to match this - rpmlib(PayloadIsXz) dependency versioned 5.2-1 to avoid unnecessary incompatibility with what rpm5 has and what Mandriva is already using - only provide the rpmlib dependency if actually built with xz support - rpmFileIsCompressed() attempts to guess the magicless old lzma format by file suffix, so it can handle both right now --- rpm2cpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpm2cpio.c') diff --git a/rpm2cpio.c b/rpm2cpio.c index 6674a722a..cdf36b1ba 100644 --- a/rpm2cpio.c +++ b/rpm2cpio.c @@ -78,8 +78,8 @@ int main(int argc, char *argv[]) rpmio_flags = "r.gzdio"; if (!strcmp(payload_compressor, "bzip2")) rpmio_flags = "r.bzdio"; - if (!strcmp(payload_compressor, "lzma")) - rpmio_flags = "r.lzdio"; + if (!strcmp(payload_compressor, "xz")) + rpmio_flags = "r.xzdio"; rpmtdFreeData(&pc); } -- cgit v1.2.1