From a62b5b70983225a86e7cd3c1f4280409683e1b72 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Wed, 17 Feb 2021 12:54:15 +0900 Subject: [PATCH] packaging: add zstd compress support Add to support zstd compression with libzstd. Change-Id: I74aff3e95b47682f33dff36536e773fb75a27fcc Signed-off-by: Seung-Woo Kim --- packaging/kmod.spec | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.7.4