Bug 140597 - [PATCH] "use vX.X.X" causes problems with perl.req
[PATCH] "use vX.X.X" causes problems with perl.req
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
: EasyFix, Patch
Depends On:
Blocks: FC5Blocker
  Show dependency treegraph
 
Reported: 2004-11-23 14:32 EST by Steven Pritchard
Modified: 2007-11-30 17:10 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-11-02 14:09:53 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
support "v<number>" version numbers in perl.req (675 bytes, patch)
2004-11-23 14:34 EST, Steven Pritchard
no flags Details | Diff
support "v<number>" version numbers in perl.req (711 bytes, patch)
2005-05-28 12:41 EDT, Steven Pritchard
no flags Details | Diff
Patch against today's rawhide spec (1.18 KB, patch)
2005-05-28 12:44 EDT, Steven Pritchard
no flags Details | Diff

  None (edit)
Description Steven Pritchard 2004-11-23 14:32:04 EST
Description of problem:
/usr/lib/rpm/perl.req doesn't handle a line like this properly:

  use v5.6.0;

This is valid perl (at least since 5.6.0) and is easy to support with
the attached patch.

Version-Release number of selected component (if applicable):
4.3.2-21
Comment 1 Steven Pritchard 2004-11-23 14:34:41 EST
Created attachment 107326 [details]
support "v<number>" version numbers in perl.req

Apply to /usr/lib/rpm/perl.req.
Comment 2 Steven Pritchard 2005-05-28 11:56:55 EDT
This bug is still present in rawhide.
Comment 3 Steven Pritchard 2005-05-28 12:41:52 EDT
Created attachment 114942 [details]
support "v<number>" version numbers in perl.req

Patch updated to rpm 4.4.1.
Comment 4 Steven Pritchard 2005-05-28 12:44:02 EDT
Created attachment 114943 [details]
Patch against today's rawhide spec
Comment 5 Seth Vidal 2005-05-28 12:57:28 EDT
Marking as EasyFix for submitter
Comment 6 Ville Skyttä 2005-06-15 12:22:57 EDT
Looks sane to me. 
 
BTW, stuff around the patch to rpm would benefit from updating for Perl 5.8 
(Epoch: 2 and/or 3, don't remember where it was bumped) as well as possibly 
converting underscores to dots (somehow?) in the emitted version. 
Comment 7 Jeff Johnson 2005-11-02 14:09:53 EST
Checked into rpm CVS, should be in rpm-4.4.3-0.32 when built.

Note You need to log in before you can comment on or make changes to this bug.