Bug 564309

Summary: Bogus perl(DB) provide
Product: [Fedora] Fedora Reporter: Paul Howarth <paul>
Component: perl-Sub-UplevelAssignee: Steven Pritchard <steve>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: cweyl, iarnell, perl-devel, steve
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: 2010-02-13 18:55:50 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 Paul Howarth 2010-02-12 11:24:54 UTC
$ rpm -qp --provides perl-Sub-Uplevel-0.2002-4.fc13.noarch.rpm
perl(DB)  
perl(Sub::Uplevel) = 0.2002
perl-Sub-Uplevel = 0.2002-4.fc13

perl(DB) is provided by the main perl package; the provide here is bogus and should be filtered out, e.g. by adding the following lines to the end of %prep:

# Kludge to remove bogus perl(DB) provide
%global provfilt /bin/sh -c "%{__perl_provides} | %{__grep} -Fvx 'perl(DB)'"
%define __perl_provides %{provfilt}


Also the current upstream version is 0.22; updating to this version would require either an epoch bump or to version the RPM as 0.2200 to maintain the upgrade path.

I'm happy to step in as co-maintainer if you're too busy with other things at the moment.

Comment 1 Iain Arnell 2010-02-12 11:36:05 UTC
Or better, simply add %{?perl_default_filter} somewhere above %description.

Comment 2 Paul Howarth 2010-02-12 11:40:52 UTC
(In reply to comment #1)
> Or better, simply add %{?perl_default_filter} somewhere above %description.    

Yes, that would work for recent Fedoras but the more long-winded approach would also work if the package was rebuilt e.g. for EPEL.