summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2021-02-17 12:54:15 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2021-02-17 13:09:11 +0900
commita62b5b70983225a86e7cd3c1f4280409683e1b72 (patch)
treefa5403f4a46f4e896da2d0458097683d564ef2ec
parent80fcc21b6c494b59eb0864e1bf68470f291fc8dd (diff)
downloadkmod-a62b5b70983225a86e7cd3c1f4280409683e1b72.tar.gz
kmod-a62b5b70983225a86e7cd3c1f4280409683e1b72.tar.bz2
kmod-a62b5b70983225a86e7cd3c1f4280409683e1b72.zip
Add to support zstd compression with libzstd. Change-Id: I74aff3e95b47682f33dff36536e773fb75a27fcc Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rw-r--r--packaging/kmod.spec2
1 files changed, 2 insertions, 0 deletions
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"