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
|