public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Eric Chanudet <echanude@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/kmod] rawhide: spec: add weak-modules Requires for compression
Date: Wed, 28 Oct 2026 19:35:43 GMT	[thread overview]
Message-ID: <179321614382.1.15958168463455653701.rpms-kmod-7e9e5def7d5a@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-10-28 19:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179321614382.1.15958168463455653701.rpms-kmod-7e9e5def7d5a@fedoraproject.org \
    --to=echanude@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox