Bug 249135
| Summary: | [PATCH] Improve perl.prov version extraction | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ville Skyttä <ville.skytta> | ||||
| Component: | rpm | Assignee: | Panu Matilainen <pmatilai> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | rawhide | Keywords: | Patch | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2007-07-23 09:30:39 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Ville Skyttä
2007-07-21 11:06:16 UTC
Created attachment 159716 [details]
Support fully qualified $Foo::Bar::VERSION expressions
One test case: current perl-Config-General in Fedora devel, before applying this
patch, it Provides:
perl(Config::General)
perl(Config::General::Extended)
perl(Config::General::Interpolated)
perl-Config-General = 2.33-1.fc8
After applying the patch and rebuilding:
perl(Config::General) = 2.33
perl(Config::General::Extended) = 2.02
perl(Config::General::Interpolated) = 2.08
perl-Config-General = 2.33-1.fc8
Added to rpm5.org cvs. FWIW, perldeps, not perl.prov, will be used eventually so that both provides and requires extraction is in a single file to decrease /usr/lib/rpm litter, and should be patched as well. Also FWIW, #61797 was filed around the time Chip Turner was writing perldeps. Again, perldeps, not perl.prov, needs whatever patches you attempt. While perldeps.pl looks much cleaner than perl.req/perl.prov, it seems to me that it does not have any module version handling whatsoever (only the version of perl is supported), so this patch isn't really applicable to it at the moment. And FWIW, in my opinion as long as module versions are not supported, switching from perl.req/perl.prov to perldeps.pl should not be considered - it'd be a largish regression. In rpm.org now as well. Just holler if you want to see this in Fedora rpm before it gets there through new upstream release. Thanks. The sooner this is in, the sooner can the perl packages affected by this issue be "fixed" by just rebuilding them. But it's not that crucial - we've managed just fine without this since the beginning of time. I don't think it would hurt to get it done for F8 though. |