Bug 541020

Summary: Missing version from dependency on perl-PPI
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: perl-Perl-CriticAssignee: Chris Weyl <cweyl>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: cweyl, kasal, perl-devel
Target Milestone: ---Keywords: EasyFix, Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-25 14:00:20 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 Flags
Add version to perl-PPI dependency none

Description Ville Skyttä 2009-11-24 18:39:44 UTC
Created attachment 373505 [details]
Add version to perl-PPI dependency

perl-Perl-Critic does not specify a version in its dependency to perl-PPI things, and rpmbuild fails to autogenerate them.  I ran into this while wanting to upgrade my local perl-Perl-Critic on F-11 to the Rawhide version; it blew up until I updated perl-PPI as well:

Can't locate object method "specialized" via package "PPI::Statement" at /usr/lib/perl5/vendor_perl/5.10.0/Perl/Critic/Policy/ErrorHandling/RequireCheckingReturnValueOfEval.pm line 238.

While not an issue within a single Fedora release, I think adding the version would be helpful.  Fix attached, let me know if you'd like me to apply and build this for Rawhide.

Comment 1 Stepan Kasal 2009-11-25 14:00:20 UTC
Fixed in perl-Perl-Critic-1.105-2