[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Appreciate advice on %if %foo || %bar syntax



On Thu, 2007-08-30 at 13:05 -0400, Michael Jennings wrote:
> On Thursday, 30 August 2007, at 14:45:53 (+0200),
> Patrick wrote:
> 
> > One last question. You used %{is_fc6} while I use %is_fc6. Is your
> > syntax the one I should be using?
> 
> It's a matter of taste, but I personally find the former more
> readable.  As long as there is no ambiguity on where the macro name
> ends, either will work.  %{...} in RPM is not unlike ${...} in shell.

Thanks. The ending of the macro name in relation to the example you gave
totally makes sense.

Regards,
Patrick


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]