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 /build/parsePrep.c | |
parent | ff920a9766ea1f3ef9670c8031ff473adb0b0adf (diff) | |
download | librpm-tizen-8078d0ba24662308b10d9eb0f0da978584b7e757.tar.gz librpm-tizen-8078d0ba24662308b10d9eb0f0da978584b7e757.tar.bz2 librpm-tizen-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 'build/parsePrep.c')
-rw-r--r-- | build/parsePrep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/parsePrep.c b/build/parsePrep.c index fbb63db34..9a919bd8b 100644 --- a/build/parsePrep.c +++ b/build/parsePrep.c @@ -203,6 +203,9 @@ static char *doUntar(rpmSpec spec, uint32_t c, int quietly) case COMPRESSED_LZMA: t = "%{__lzma} -dc"; break; + case COMPRESSED_XZ: + t = "%{__xz} -dc"; + break; } zipper = rpmGetPath(t, NULL); if (needtar) { |