Bug 564309 - Bogus perl(DB) provide
Summary: Bogus perl(DB) provide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Sub-Uplevel
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Steven Pritchard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-12 11:24 UTC by Paul Howarth
Modified: 2010-02-13 18:55 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-13 18:55:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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