[RFE] Please, provide a functionality for comparing two packages according to their NVRA and backport it to hawkey.fc19 down to hawkey.fc17.
this is of course supported for Package objects as found in the Sack, but you probably want to be able to compare two NVRAs (or just version-release?) as strings directly.
Exactly. V-R is sufficient.
Commits a110f84 and 9578680 allow you to compare NEVRA objects by their EVRs. See the test: https://github.com/akozumpl/hawkey/blob/master/tests/python/tests/test_nevra.py#L5 will be included in hawkey-0.3.11
hawkey-0.3.11-1.gitffe0dac.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/hawkey-0.3.11-1.gitffe0dac.fc19
Package dnf-0.3.4-1.git03fd687.fc19, hawkey-0.3.11-1.gitffe0dac.fc19, librepo-0.0.4-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dnf-0.3.4-1.git03fd687.fc19 hawkey-0.3.11-1.gitffe0dac.fc19 librepo-0.0.4-1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-7332/dnf-0.3.4-1.git03fd687.fc19,librepo-0.0.4-1.fc19,hawkey-0.3.11-1.gitffe0dac.fc19 then log in and leave karma (feedback).
Works for me. Thanks for the fix!
dnf-0.3.4-1.git03fd687.fc19, hawkey-0.3.11-1.gitffe0dac.fc19, librepo-0.0.4-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.