Accepting request 898019 from Base:System

- Enable support for ZSTD compressed modules

testsuite still needs zstd command, the library can do without.

OBS-URL: https://build.opensuse.org/request/show/898019
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kmod?expand=0&rev=63
This commit is contained in:
Dominique Leuenberger 2021-06-09 19:55:00 +00:00 committed by Git OBS Bridge
commit fc8438fbb3
3 changed files with 10 additions and 0 deletions

View File

@ -46,7 +46,9 @@ BuildRequires: libtool
BuildRequires: libxslt-tools
BuildRequires: pkgconfig >= 0.21
BuildRequires: xz
BuildRequires: zstd
BuildRequires: pkgconfig(liblzma) >= 4.99
BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(zlib)
Requires: suse-module-tools
%if !0%{?is_opensuse}
@ -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"

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 7 06:29:19 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- Enable support for ZSTD compressed modules
-------------------------------------------------------------------
Sat May 29 09:58:09 UTC 2021 - Michal Suchanek <msuchanek@suse.de>

View File

@ -46,6 +46,7 @@ BuildRequires: libxslt-tools
BuildRequires: pkgconfig >= 0.21
BuildRequires: xz
BuildRequires: pkgconfig(liblzma) >= 4.99
BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(zlib)
Requires(post): coreutils
Obsoletes: kmod-compat < %version-%release
@ -110,6 +111,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now"
--with-xz \
--with-zlib \
--with-openssl \
--with-zstd \
--includedir="%_includedir/kmod" \
--with-rootlibdir="%_libdir" \
--bindir="%_bindir"