diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-03-18 09:42:23 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-03-18 09:42:23 +0200 |
commit | 8078d0ba24662308b10d9eb0f0da978584b7e757 (patch) | |
tree | d006abb3b7cce4eb328a233c1c8cfc96c8b60b53 /rpm2cpio.c | |
parent | ff920a9766ea1f3ef9670c8031ff473adb0b0adf (diff) | |
download | rpm-8078d0ba24662308b10d9eb0f0da978584b7e757.tar.gz rpm-8078d0ba24662308b10d9eb0f0da978584b7e757.tar.bz2 rpm-8078d0ba24662308b10d9eb0f0da978584b7e757.zip |
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
Diffstat (limited to 'rpm2cpio.c')
-rw-r--r-- | rpm2cpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |