public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kmod] rawhide: spec: add weak-modules Requires for compression
@ 2026-10-28 19:35 Eric Chanudet
  0 siblings, 0 replies; only message in thread
From: Eric Chanudet @ 2026-10-28 19:35 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/kmod
            Branch : rawhide
            Commit : 7e9e5def7d5a2edbd642bb97923724347285a80c
            Author : Eric Chanudet <echanude@redhat.com>
            Date   : 2026-10-28T10:37:24-04:00
            Stats  : +6/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/kmod/c/7e9e5def7d5a2edbd642bb97923724347285a80c?branch=rawhide

            Log:
            spec: add weak-modules Requires for compression

weak-modules will call zcat, xzcat, zstdcat when required. If kmod is
provided with it, it should Requires the appropriate dependencies.

Signed-off-by: Eric Chanudet <echanude@redhat.com>

---
diff --git a/kmod.spec b/kmod.spec
index 8bcbc73..6613e72 100644
--- a/kmod.spec
+++ b/kmod.spec
@@ -100,6 +100,12 @@ Provides:       /usr/sbin/lsmod
 Provides:       /usr/sbin/depmod
 %endif
 
+%if %{with weak_modules}
+Requires: %{_bindir}/zcat
+Requires: %{_bindir}/xzcat
+Requires: %{_bindir}/zstdcat
+%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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-28 19:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 19:35 [rpms/kmod] rawhide: spec: add weak-modules Requires for compression Eric Chanudet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox