Bug 161921 - perl.req does not catch "use base 'something';"
perl.req does not catch "use base 'something';"
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
4
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-28 10:28 EDT by Simon Perreault
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-07-13 06:16:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Simon Perreault 2005-06-28 10:28:22 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux) KHTML/3.4.1 (like Gecko)

Description of problem:
perl.req, which parses perl files to figure out their requirements, does not 
get requirements of this form (which are fairly common): 
 
use base 'SomeModule'; 
 
This is a common way to inherit from SomeModule. 

Version-Release number of selected component (if applicable):
rpm-4.4.1-21

How reproducible:
Always

Steps to Reproduce:
1. Create this file: 
=== 
package Derived; 
use base 'Parent'; 
=== 
2. Run /usr/lib/rpm/perl.req on it. 

Actual Results:  perl(base) 

Expected Results:  perl(base) 
perl(Parent) 

Additional info:
Comment 1 James Olin Oden 2005-06-28 15:52:48 EDT
Paul,

I put something like this in the HEAD, long time ago (about six months ago).
I don't remember if I only added it to Chip Turners or also to the default one.

Cheers...james
Comment 2 Jeff Johnson 2005-07-13 06:16:13 EDT
Change was to eprldeps.pl, not perl.req.

I've changed the default macros to use perldeps.pl, not perl.{req,prov} (which will be
phased out entirely very soon now) in rpm-4_4 cvs. Should be in rpm-4.4.2-0.8 when built.

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