Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 161921 - perl.req does not catch "use base 'something';"
perl.req does not catch "use base 'something';"
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
Depends On:
  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:
Last Closed: 2005-07-13 06:16:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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):

How reproducible:

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) 

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

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.

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.