Bug 177960

Summary: [PATCH] don't emit Provides: perl(main)
Product: [Fedora] Fedora Reporter: Ville Skyttä <scop>
Component: rpmAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: FutureFeature, Patch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-01-18 16:34:19 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:
Bug Depends On:    
Bug Blocks: 150221    
Attachments:
Description Flags
Don't emit perl(main) Provides (patch against rpm-4_4 branch in CVS) none

Description Ville Skyttä 2006-01-16 20:18:37 UTC
rpm-build's autodeps stuff for perl may and does pretty often emit "Provides:
perl(main)", which serves no purpose.

The "main" package is always implicitly present in perl, and no packages can do
"use main" or "require main" in perl code, so no such Requires should be present
anywhere and filtering the provides should be safe.

Comment 1 Ville Skyttä 2006-01-16 20:18:37 UTC
Created attachment 123258 [details]
Don't emit perl(main) Provides (patch against rpm-4_4 branch in CVS)

Comment 2 Paul Nasrat 2006-01-18 16:34:19 UTC
Fixed in rawhide and upstream rpm-4.4.x branch. Thanks for the patch.