diff --git a/kmod-testsuite.spec b/kmod-testsuite.spec index 5b32048..ac33631 100644 --- a/kmod-testsuite.spec +++ b/kmod-testsuite.spec @@ -46,8 +46,10 @@ BuildRequires: libtool BuildRequires: libxslt-tools BuildRequires: pkgconfig >= 0.21 BuildRequires: xz +BuildRequires: zstd BuildRequires: pkgconfig(liblzma) >= 4.99 BuildRequires: pkgconfig(zlib) +BuildRequires: pkgconfig(libzstd) Requires: suse-module-tools %if !0%{?is_opensuse} ExcludeArch: %ix86 s390 @@ -72,6 +74,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now" --with-xz \ --with-zlib \ --with-openssl \ + --with-zstd \ --includedir="%_includedir/kmod" \ --with-rootlibdir="%_libdir" \ --bindir="%_bindir" diff --git a/kmod.changes b/kmod.changes index bef670a..b5b86b2 100644 --- a/kmod.changes +++ b/kmod.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 7 06:29:19 UTC 2021 - Callum Farmer + +- Enable support for ZSTD compressed modules + ------------------------------------------------------------------- Sat May 29 09:58:09 UTC 2021 - Michal Suchanek diff --git a/kmod.spec b/kmod.spec index d14b9cd..469b0b3 100644 --- a/kmod.spec +++ b/kmod.spec @@ -45,8 +45,10 @@ BuildRequires: libtool BuildRequires: libxslt-tools BuildRequires: pkgconfig >= 0.21 BuildRequires: xz +BuildRequires: zstd BuildRequires: pkgconfig(liblzma) >= 4.99 BuildRequires: pkgconfig(zlib) +BuildRequires: pkgconfig(libzstd) Requires(post): coreutils Obsoletes: kmod-compat < %version-%release Provides: kmod-compat = %version-%release @@ -110,6 +112,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now" --with-xz \ --with-zlib \ --with-openssl \ + --with-zstd \ --includedir="%_includedir/kmod" \ --with-rootlibdir="%_libdir" \ --bindir="%_bindir"