Bug 953203
| Summary: | [rfe] compare packages by nvra | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Martin Cermak <mcermak> |
| Component: | hawkey | Assignee: | Ales Kozumplik <akozumpl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | akozumpl, jzeleny |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | dnf-0.3.4-1.git03fd687.fc19 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-05-22 03:41:09 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 953204, 953205 | ||
|
Description
Martin Cermak
2013-04-17 15:44:27 UTC
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. |