pcp
[Top] [All Lists]

Re: [pcp] rpm and perl and packaging question

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: [pcp] rpm and perl and packaging question
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Tue, 30 Jul 2013 17:30:25 +1000
Cc: PCP Mailing List <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <51F767EB.3060008@xxxxxxxxxxxxxxxx>
References: <51F767EB.3060008@xxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7
On 07/30/2013 05:14 PM, Ken McDonell wrote:
I'm seeing this on a number of rpm-based systems ...

$ sudo rpm -U `ls build/rpm/*.rpm | sed -e '/src.rpm/d'`
error: Failed dependencies:
        perl(Spreadsheet::Read) is needed by pcp-import-sheet2pcp-3.8.2-1.x86_64

where does the dependency come from?  The build seems to sniff it out somehow.

The problem is that perl-Spreadsheet-Read is not available for lots of rpm 
platforms (but is easily downloaded and installed via cpan).

See BZ 754678 - f16 pcp-import-sheet2pcp requires perl(Spreadsheet::Read)
https://bugzilla.redhat.com/show_bug.cgi?id=754678

I actually packaged it all up for fedora, but nobody wanted to be
the maintainer (the perl/fedora folks are actively trying to *reduce*
the number of perl packages), so in the end we nuked the
pcp-import-sheet2pcp package in the pcp fedora spec.

So how can we make the rpm packaging _not_ include this dependency?

exclude pcp-import-sheet2pcp in the pcp spec, as above.

Cheers
-- Mark

<Prev in Thread] Current Thread [Next in Thread>