Bug 927211 - RPM generates wrong Perl provides
Summary: RPM generates wrong Perl provides
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-25 11:44 UTC by Jan Kaluža
Modified: 2013-05-22 06:03 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-22 06:03:26 UTC
Type: Bug


Attachments (Terms of Use)

Description Jan Kaluža 2013-03-25 11:44:10 UTC
See Bug 924938, mainly https://bugzilla.redhat.com/show_bug.cgi?id=924938#c19

Since file-5.14, more Perl files are recognized as "Perl5 Module". RPM then treats all "package x;" occurrences in those files as real module definitions and puts them into Provides even when they are in Perl comment.

I think RPM should handle only Provides from files in Perl modules search path. Note that I'm File maintainer, not Perl developer/maintainer.

Comment 1 Panu Matilainen 2013-05-22 06:03:26 UTC
Limiting by search paths tends to be problematic in various ways, but rpm-4.11.0.1-6.fc20 requires files to have .pm suffix in addition in order to be classified as perl modules which should cure at least the worst of it.


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