[CentOS] Finding perl-MIME-Base64

Wed Jul 26 21:36:53 UTC 2006
Robert Moskowitz <rgm at htt-consult.com>

Alexander Dalloz wrote:
> Robert Moskowitz schrieb:
>
>> I am told by yum localinstall that I need this for TinyCA2.
>>
>> When I search for it, it seems like it SHOULD be part of basic perl 
>> package, but it is hard to argue with yum on dependencies.....
>
> The .spec file shouldn't explicitly have a "Requires:   
> perl-MIME-Base64". The  automatic dependencies check at rpmbuild time 
> should automatically generate a requirement for perl(MIME-Base64), 
> which is fulfilled by the Perl  main package.
>
> $ rpm -q --whatprovides 'perl(MIME::Base64)'
> perl-5.8.5-24.RHEL4.x86_64 
rpm -ihv tinyca2-0.7.5-0.noarch.rpm
error: Failed dependencies:
        perl-MIME-Base64 is needed by tinyca2-0.7.5-0.noarch