Bug 169976

Summary: Missing Requires: perl(Class::MethodMaker)
Product: [Fedora] Fedora Reporter: Ralf Corsepius <rc040203>
Component: perl-GnuPG-InterfaceAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: extras-qa
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: 2005-10-06 03:27:08 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:

Description Ralf Corsepius 2005-10-06 02:50:05 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050923 Fedora/1.7.12-1.5.1

Description of problem:
Apparently perl-GnuPG-Interface.*rpm lacks a 
Requires: perl(Class::MethodMaker)

Class::MethodMaker is used all over the place:
grep -R 'use Class::MethodMaker' GnuPG-Interface-0.33
GnuPG-Interface-0.33/blib/lib/GnuPG/Handles.pm:use Class::MethodMaker
GnuPG-Interface-0.33/blib/lib/GnuPG/UserId.pm:use Class::MethodMaker
GnuPG-Interface-0.33/blib/lib/GnuPG/PrimaryKey.pm:use Class::MethodMaker
GnuPG-Interface-0.33/blib/lib/GnuPG/Interface.pm:use Class::MethodMaker
GnuPG-Interface-0.33/blib/lib/GnuPG/Options.pm:use Class::MethodMaker
GnuPG-Interface-0.33/blib/lib/GnuPG/SubKey.pm:use Class::MethodMaker
GnuPG-Interface-0.33/blib/lib/GnuPG/Key.pm:use Class::MethodMaker
GnuPG-Interface-0.33/blib/lib/GnuPG/Fingerprint.pm:use Class::MethodMaker
GnuPG-Interface-0.33/blib/lib/GnuPG/Signature.pm:use Class::MethodMaker
GnuPG-Interface-0.33/lib/GnuPG/Handles.pm:use Class::MethodMaker
GnuPG-Interface-0.33/lib/GnuPG/UserId.pm:use Class::MethodMaker
GnuPG-Interface-0.33/lib/GnuPG/PrimaryKey.pm:use Class::MethodMaker
GnuPG-Interface-0.33/lib/GnuPG/Interface.pm:use Class::MethodMaker
GnuPG-Interface-0.33/lib/GnuPG/Options.pm:use Class::MethodMaker
GnuPG-Interface-0.33/lib/GnuPG/SubKey.pm:use Class::MethodMaker
GnuPG-Interface-0.33/lib/GnuPG/Key.pm:use Class::MethodMaker
GnuPG-Interface-0.33/lib/GnuPG/Fingerprint.pm:use Class::MethodMaker
GnuPG-Interface-0.33/lib/GnuPG/Signature.pm:use Class::MethodMaker

... but is missing from the rpm:
rpm -q --requires perl-GnuPG-Interface | grep MethodMaker
...


Version-Release number of selected component (if applicable):
perl-GnuPG-Interface-0.33-4

How reproducible:
Always

Steps to Reproduce:
Try building perl-Mail-GnuPG from FE-CVS without having perl-Class-MethodMaker
installed.
 

Actual Results:  + make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00.load.......#     Failed test (t/00.load.t at line 4)
#     Tried to use 'Mail::GnuPG'.
#     Error:  Can't locate Class/MethodMaker.pm in @INC ...
[snip]
.. at /usr/lib/perl5/vendor_perl/5.8.6/GnuPG/Options.pm line 59.


Additional info:

I am going to add 
Requires: perl(Class::MethodMaker)
to the perl-GnuPG-Interface.spec in FE's CVS and to request a rebuild.