Pascal Terjan
> Buchan Milne wrote:
>>>I just rebuilt w3m with ipv6 enabled but It has some requires for
>>> scripts :
>>>
>>># rpm -Uvh /tmp/w3m-0.4.1-2mdk.i586.rpm
>>>error: Failed dependencies:
>>>         perl(w3mhelp-funcdesc.en.pl) is needed by w3m-0.4.1-2mdk
>>> perl(w3mhelp-funcname.pl) is needed by w3m-0.4.1-2mdk
>>>
>>>But this scripts are in the w3m rpm
>>>
>>>$ rpm -qlp /tmp/w3m-0.4.1-2mdk.i586.rpm  | grep .pl$
>>>/usr/share/w3m/w3mhelp-funcdesc.en.pl
>>>/usr/share/w3m/w3mhelp-funcdesc.ja.pl
>>>/usr/share/w3m/w3mhelp-funcname.pl
>>>
>>>What are your suggestions ?
>>
>>
>> grep 'use w3mhelp' `rpm -qlp w3m`
>>
>> This will likely show that some non-perl statement file tells you to
>> use the mentioned perl scripts, which find-requires mis-interprets as
>> a perl "use" statement.
>
> There is  /usr/lib/w3m/w3mhelp.cgi that use the required .pl
> And this is really some perl :)
>
>> So, either work around it by some ignore-requires statement (see the
>> thread where Oden had the same problem with perl(the) on MySQL IIRC),
>> or we need to fix find-requires with a better regex/algo. Like, maybe
>> it should only check files that have a perl she-bang on the first
>> line, or maybe it should grep for something more like "^use
>> \w*(::\w*)*;"
>
> Here the .pl is really needed, the problem is it doesn't know it's
> there.

Hmmm, hack would be to add manual provides perl(w3mhelp-funcdesc.en.pl)
etc in the spec file ...



Reply via email to