diff --git a/kmod.spec b/kmod.spec index 8bcbc73..c47ae9a 100644 --- a/kmod.spec +++ b/kmod.spec @@ -100,6 +100,18 @@ Provides: /usr/sbin/lsmod Provides: /usr/sbin/depmod %endif +%if %{with weak_modules} +%if %{with zlib} +Requires: %{_bindir}/zcat +%endif +%if %{with xz} +Requires: %{_bindir}/xzcat +%endif +%if %{with zstd} +Requires: %{_bindir}/zstdcat +%endif +%endif + %description The kmod package provides various programs needed for automatic loading and unloading of modules under 2.6, 3.x, and later kernels, as well