[Mageia-dev] %{foo} vs. %foo

Jerome Quelin jquelin at gmail.com
Mon Aug 22 13:59:05 CEST 2011


On 11/08/21 19:29 -0400, andre999 wrote:
> It would be nice to have it clearly documented as to when it is
> strictly necessary -- and why.  As well as giving a preferred style,
> if any.
> (If that hasn't already been done, of course.)

in mdv time, i think the convention was to use %{} for variables, and %
for macro that do sthg. that's why i'm using this in perl modules spec
files:

    version: %perl_convert_version %{upstream_version}

regards,
jérôme 


More information about the Mageia-dev mailing list