packaging: add zstd compress support 28/253728/1 accepted/tizen/unified/20210219.041140 submit/tizen/20210218.040335
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 17 Feb 2021 03:54:15 +0000 (12:54 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 17 Feb 2021 04:09:11 +0000 (13:09 +0900)
Add to support zstd compression with libzstd.

Change-Id: I74aff3e95b47682f33dff36536e773fb75a27fcc
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
packaging/kmod.spec

index ea21ec1..5778e52 100644 (file)
@@ -16,6 +16,7 @@ BuildRequires:  pkgconfig >= 0.21
 BuildRequires:  xz
 BuildRequires:  pkgconfig(liblzma) >= 4.99
 BuildRequires:  pkgconfig(zlib)
+BuildRequires:  pkgconfig(libzstd)
 
 %description
 kmod is a set of tools to handle common tasks with Linux kernel
@@ -73,6 +74,7 @@ cp %{SOURCE1001} .
    --with-xz \
    --disable-manpages \
    --with-zlib \
+   --with-zstd \
    --with-rootlibdir=%{_libdir} \
    --bindir=%{_bindir}
 %__make %{?_smp_mflags} CFLAGS+=" -fPIE -Wno-maybe-uninitialized" LDFLAGS+=" -pie"