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 /rpmio/rpmfileutil.h | |
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 'rpmio/rpmfileutil.h')
-rw-r--r-- | rpmio/rpmfileutil.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmio/rpmfileutil.h b/rpmio/rpmfileutil.h index fd7a813ba..d0bba5315 100644 --- a/rpmio/rpmfileutil.h +++ b/rpmio/rpmfileutil.h @@ -22,7 +22,8 @@ typedef enum rpmCompressedMagic_e { COMPRESSED_OTHER = 1, /*!< gzip can handle */ COMPRESSED_BZIP2 = 2, /*!< bzip2 can handle */ COMPRESSED_ZIP = 3, /*!< unzip can handle */ - COMPRESSED_LZMA = 4 /*!< lzma can handle */ + COMPRESSED_LZMA = 4, /*!< lzma can handle */ + COMPRESSED_XZ = 5 /*!< xz can handle */ } rpmCompressedMagic; /** \ingroup rpmfileutil |