Perl modules <---> Fedora RPMs (Test::More)

Bill Crawford billcrawford1970 at gmail.com
Thu Mar 5 16:30:43 UTC 2009


On Thursday 05 March 2009 15:45:46 Nick Zhokhov wrote:
> Hi
> rpm -ql perl-Test-Simple-0.62-30.fc8.x86_64
> ...
> /usr/lib/perl5/5.8.8/Test/More.pm
> /usr/lib/perl5/5.8.8/Test/Simple.pm
> ...
>
> the problem is that  I can't found perl-Test- Simple  src rpm
> spec of which should have something like
> Provides: perl-Test-More = 062-30.fc8

The provides are determined (usually) at build time, from the installed files. 
What you want is something like:

[root at bill /]# repoquery --whatprovides --qf '%{SOURCERPM}\n' 'perl(Test::More)'
perl-5.10.0-58.fc11.src.rpm

In this case, that is built from the "main" perl package.

> There are many spec  having
> BuildRequire perl(Test::More)

That just means that they don't get broken if the module concerned ever gets 
moved in or out of the big perl package [tm].




More information about the fedora-list mailing list