query.filter(provides__eq=...) works as expected the same should work for 'requires', but doesn't. It should also work for 'conflicts' and 'obsoletes' (so all yum 'PRCO' stuff is covered).
adding requires should be straightforward, conflicts and obsoletes should be somehow simple enough, though so far this is not supported by the C hawkey interfaces.
Fixed by c5c375f and 5049d76 on the master branch. Dan, if you want to you can just pull from github and try these out, there's unit tests too, e.g.: https://github.com/akozumpl/hawkey/commit/5049d7666f6f749ce5f689d6085798cbe547d137#L4R183
hawkey-0.3.7-2.gitdd10ac7.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/hawkey-0.3.7-2.gitdd10ac7.fc18
Package hawkey-0.3.7-2.gitdd10ac7.fc18, dnf-0.2.21-1.git050524e.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing hawkey-0.3.7-2.gitdd10ac7.fc18 dnf-0.2.21-1.git050524e.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-2318/dnf-0.2.21-1.git050524e.fc18,hawkey-0.3.7-2.gitdd10ac7.fc18 then log in and leave karma (feedback).
hawkey-0.3.7-2.gitdd10ac7.fc18, dnf-0.2.21-1.git050524e.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.