public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cpanspec] epel10: Use `dnf repoquery --whatprovides`, not `dnf whatprovides`
@ 2026-10-21 16:04 Evan Goode
0 siblings, 0 replies; only message in thread
From: Evan Goode @ 2026-10-21 16:04 UTC (permalink / raw)
To: git-commits
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 {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-21 16:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-21 16:04 [rpms/cpanspec] epel10: Use `dnf repoquery --whatprovides`, not `dnf whatprovides` Evan Goode
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox