Subject: | cpanflute2 bug: package 'requires' modules which it actually provides |
I used cpanflute2 to make a source RPM from Regexp-Parser-0.20.tar.gz
downloaded from CPAN. The source package builds okay to make a noarch
RPM, but installing that fails with:
error: Failed dependencies:
perl(Regexp::Parser::Diagnostics) is needed by
perl-Regexp-Parser-0.20-8.noarch
perl(Regexp::Parser::Handlers) is needed by
perl-Regexp-Parser-0.20-8.noarch
perl(Regexp::Parser::Objects) is needed by
perl-Regexp-Parser-0.20-8.noarch
However, these packages are provided by the RPM itself, for example
% rpm -qlp perl-Regexp-Parser-0.20-8.noarch.rpm | grep Diagnostics.pm
/usr/local/lib/perl5/site_perl/5.10.0/Regexp/Parser/Diagnostics.pm
Either the dependency needs to be removed, or better, the RPM should
'provide' these packages itself so it can be installed.