From 07bc29785ad21e07707acf0f2ae612accbf78585 Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Thu, 10 Apr 2025 07:31:57 +0900 Subject: [PATCH] packaging: Enable some compression features To use more compression alogrithm, add some options. And libdeflate-devel is required to use libdeflate/libzstd at building time. Change-Id: Ie593374af4c216eee7ea42ec24e4d17aaf716a07 Signed-off-by: Jaehoon Chung --- packaging/erofs-utils.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packaging/erofs-utils.spec b/packaging/erofs-utils.spec index d55f877..6c214b8 100644 --- a/packaging/erofs-utils.spec +++ b/packaging/erofs-utils.spec @@ -19,6 +19,7 @@ BuildRequires: xz BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(blkid) +BuildRequires: libdeflate-devel %description mkfs.erofs is a user-space tool to create erofs filesystem images. It @@ -39,7 +40,7 @@ cp %{SOURCE1001} . export CFLGAS="${CFLAGS} -fPIE" export LDFLAGS="${LDFLAGS} -fPIE" autoreconf -fiv -%configure --bindir="%_sbindir" --enable-lzma +%configure --bindir="%_sbindir" --enable-lzma --enable-lz4 --with-libdeflate --with-libzstd %make_build %install -- 2.34.1