Red Hat Bugzilla – Bug 1465399
[RFE] repoquery should support a query Exclusivearch and ExcludeArch tag
Last modified: 2017-06-27 08:01:22 EDT
+++ This bug was initially created as a clone of Bug #1361617 +++
Description of problem:
It would be nice to have an option for dnf repoquery, that would list all packages which require a given package during build.
--- Additional comment from Jaroslav Škarvada on 2016-07-29 15:20:58 WEST ---
I.e. alias for:
dnf repoquery --disablerepo=\* --enablerepo=SRC --arch=src --whatrequires PKG
--- Additional comment from Jaroslav Škarvada on 2016-07-29 15:23:18 WEST ---
I could be called --whatbuildrequires, etc.
The above example is not straightforward and it is not easy to find it. At least it should be present in the dnf.plugin.repoquery manual page examples.
--- Additional comment from Igor Gnatenko on 2016-07-29 15:25:35 WEST ---
$ dnf repoquery --repo=fedora-rawhide --arch src --whatrequires PKG
in DNF 2.0, but agree that it should be documented.
--- Additional comment from Tomas Orsava on 2017-01-25 16:34:21 WET ---
Update, this works on dnf 1.1.10:
$ dnf repoquery --disablerepo=\* --enablerepo=rawhide-source --arch=src --whatrequires PKG
--- Additional comment from Sergio Monteiro Basto on 2017-03-18 19:43:43 WET ---
and about query Exclusivearch tag ?
Please, open new bug instead of cloning.