| Summary: | Module does not parse epoch correctly | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Peter Jennings <gosbear> |
| Component: | perl-RPM-VersionCompare | Assignee: | Petr Pisar <ppisar> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | perl-devel, ppisar |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | perl-RPM-VersionCompare-0.1.1-1.fc16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-17 01:04:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Thank you for finding this bug. The only specification I know is <http://www.rpm.org/wiki/PackagerDocs/Dependencies#RequiringPackages> and it states `it's a number defaulting to 0' only. perl-RPM-VersionCompare-0.1.1-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/perl-RPM-VersionCompare-0.1.1-1.fc16 perl-RPM-VersionCompare-0.1.1-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/perl-RPM-VersionCompare-0.1.1-1.fc15 perl-RPM-VersionCompare-0.1.1-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/perl-RPM-VersionCompare-0.1.1-1.fc14 Package perl-RPM-VersionCompare-0.1.1-1.fc14: * should fix your issue, * was pushed to the Fedora 14 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing perl-RPM-VersionCompare-0.1.1-1.fc14' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/perl-RPM-VersionCompare-0.1.1-1.fc14 then log in and leave karma (feedback). perl-RPM-VersionCompare-0.1.1-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. perl-RPM-VersionCompare-0.1.1-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. perl-RPM-VersionCompare-0.1.1-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Version-Release number of selected component (if applicable): 0.1.0-1 How reproducible: every time Steps to Reproduce: 1. Use example from man page: RPM::VersionCompare::labelSplit('4:5.12.0-140') 2. Add digit to Epoch: RPM::VersionCompare::labelSplit('49:5.12.0-140') Actual results: subroutine only returns single digit in ex.2 (i.e. '9') Expected results: subroutine should return '49' for epoch in example 2 Additional info: I didn't find specification for length or constraints on epoch. The epoch specification needs to be researched to implement a robust solution.