how does somobeody install perl(ExtUtils::Embed)

Paul Howarth paul at city-fan.org
Mon Feb 17 11:15:47 UTC 2014


On 17/02/14 11:13, Reindl Harald wrote:
>
>
> Am 17.02.2014 12:10, schrieb Paul Howarth:
>> On 17/02/14 11:08, Reindl Harald wrote:
>>>
>>> [builduser at buildserver64:/rpmbuild/SPECS]$ rpmbuild -bb subversion.spec
>>> error: Failed build dependencies:
>>>           perl(ExtUtils::Embed) is needed by subversion-1.8.5-2.fc20.20140217.rh.x86_64
>>>           rubygem(minitest) is needed by subversion-1.8.5-2.fc20.20140217.rh.x86_64
>>> [builduser at buildserver64:/rpmbuild/SPECS]$ sudo yum install perl(ExtUtils::Embed) rubygem(minitest)
>>> -bash: syntax error near unexpected token `('
>>> _____________________________
>>>
>>> how is somebody expected to translate such Require / Build-Requires
>>> to a package name yum understands?
>>
>> By quoting them:
>>
>> $ sudo yum install 'perl(ExtUtils::Embed)' 'rubygem(minitest)'
>
> oh, thanks
>
> Build-Requires: perl-ExtUtils-Embed rubygem-minitest
>
> would do the same without special chars, no idea why
> things are done the hard way here and there

Because modules sometimes move between packages. Using the virtual 
provide means that the dependency works regardless of which package 
provides it.

Paul.



More information about the devel mailing list