public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Evan Goode <mail@evangoo.de>
To: git-commits@fedoraproject.org
Subject: [rpms/cpanspec] epel10: Use `dnf repoquery --whatprovides`, not `dnf whatprovides`
Date: Wed, 21 Oct 2026 16:04:46 GMT [thread overview]
Message-ID: <179259868661.1.6502536742781869824.rpms-cpanspec-78492cbd2daf@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/cpanspec
Branch : epel10
Commit : 78492cbd2daf42b10972c932e05f14fc91a1953e
Author : Evan Goode <mail@evangoo.de>
Date : 2024-02-08T22:16:37+00:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/cpanspec/c/78492cbd2daf42b10972c932e05f14fc91a1953e?branch=epel10
Log:
Use `dnf repoquery --whatprovides`, not `dnf whatprovides`
Starting in Fedora 41, /usr/bin/dnf will be provided by DNF 5, a rewrite
of DNF that does not support the old `whatprovides` alias for `repoquery
--whatprovides`.
---
diff --git a/cpanspec-1.78-Prefer-dnf-over-repoquery.patch b/cpanspec-1.78-Prefer-dnf-over-repoquery.patch
index 0b376b9..5f716e1 100644
--- a/cpanspec-1.78-Prefer-dnf-over-repoquery.patch
+++ b/cpanspec-1.78-Prefer-dnf-over-repoquery.patch
@@ -10,7 +10,7 @@ index a15765a..0af4e85 100755
- return undef if (!-x $repoquery);
+ my ($repoquery, $repoqueryopts);
+ if (-x ($repoquery = '/usr/bin/dnf')) {
-+ $repoqueryopts = "whatprovides '${dep}'"
++ $repoqueryopts = "repoquery --whatprovides '${dep}'"
+ } elsif (-x ($repoquery = '/usr/bin/repoquery')) {
+ $repoqueryopts = "--whatprovides '${dep}'"
+ } else {
reply other threads:[~2026-10-21 16:04 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=179259868661.1.6502536742781869824.rpms-cpanspec-78492cbd2daf@fedoraproject.org \
--to=mail@evangoo.de \
--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