[Yum] plugin rpm macro

Gerry Reno greno at verizon.net
Wed May 20 01:20:29 UTC 2009


James Antill wrote:
> Gerry Reno <greno at verizon.net> writes:
>
>   
>> I looked at the preupgrade plugin 'whiteout'.  And in the code I see
>> where it gens a macro '_dependency_whiteout' and then appends a list
>> of 'package>requires' strings to it.  My question is, for testing, can
>> I put this macro into /etc/rpm/macros and then will yum/rpm use it?
>>     
>
>  AFAICS, rpm will use it. See:
>
> http://www.google.com/codesearch?q=_dependency_whiteout
>
>   
Thanks.  In looking at whiteout.py it seems that even if it does not 
find any whiteouts in any of the repos it still creates an empty macro 
which overrides the one I put in /etc/rpm/macros so I cannot do any 
manual testing.

Regards,
Gerry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20090519/f302d481/attachment.htm>


More information about the Yum mailing list