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 --- rpmio/rpmfileutil.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rpmio/rpmfileutil.h') 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 -- cgit v1.2.3