From: Seung-Woo Kim Date: Wed, 17 Feb 2021 03:54:15 +0000 (+0900) Subject: packaging: add zstd compress support X-Git-Tag: accepted/tizen/unified/20210219.041140^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a62b5b70983225a86e7cd3c1f4280409683e1b72;p=platform%2Fupstream%2Fkmod.git packaging: add zstd compress support Add to support zstd compression with libzstd. Change-Id: I74aff3e95b47682f33dff36536e773fb75a27fcc Signed-off-by: Seung-Woo Kim --- diff --git a/packaging/kmod.spec b/packaging/kmod.spec index ea21ec1..5778e52 100644 --- a/packaging/kmod.spec +++ b/packaging/kmod.spec @@ -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"