FC4 perl module upgrades/cleanups

Jeff Johnson n3npq at nc.rr.com
Thu Mar 31 17:34:01 UTC 2005


Chris Adams wrote:

>Once upon a time, Jeff Johnson <n3npq at nc.rr.com> said:
>  
>
>>Adding
>>
>>    %define _use_internal_dependency_generator 0
>>
>>is very much the wrong thing to do with any package that includes 
>>elf32/elf64 modules.
>>
>>And there is loss of functionality if/when 
>>%_use_internal_dependency_generator is used
>>for any package, as dependencies are not attached to files.
>>
>>The mechanism was intended to to assist bootstrapping multilib, not for 
>>serious packaging usage.
>>    
>>
>
>So how do you override bogus auto-generated dependencies?  For perl
>modules, it is not practical to have to patch out bits of code that
>won't be called on a particular platform just to avoid invalid
>dependencies.
>  
>

Override %__perl_requires and filter as before.

>I suggested a "NoRequires:" for RPM a while back but got shot down.
>AFAIK the only way to do it today is to use the above %define and filter
>things out.
>  
>

Adding syntax to *.spec creates instant legacy problems building with older
versions of rpm.

73 de Jeff





More information about the devel mailing list