Description of problem: dnf repoquery --whatrequires is not symmetrical to dnf repoquery --requires, because the first one includes e.g. Requires(post), but the second one does not. I think this should be documented, if this is on purpose, and a way to query those requirements should be added. Version-Release number of selected component (if applicable): dnf-plugins-core-0.1.13-1.fc24.noarch Steps to Reproduce: 1. dnf repoquery --whatrequires systemd-sysv # This returns a bunch of stuff, # including e.g. dmapd 2. dnf repoquery --requires dmapd | grep sysv # This returns nothing.
I am guessing that this can be caused by - https://github.com/rpm-software-management/hawkey/commit/d543c5aa8a2a32abb1c7f95df85f1a9a13e6364a
any solutions?
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
The capability of showing different requirements was added recently, where command '--requires' shows packages needed for instalation and '--requires-pre' shows packages needed for running of package. ``--requires`` - Display capabilities that the package depends on. Same as ``--qf "%{requires}"``. ``--requires-pre``- Display capabilities that the package depends on for running a ``%pre`` script (Same as ``--qf "%{requires-pre}"``).