[Mageia-dev] Importing RPM Spec File Syntax

Thierry Vignaud thierry.vignaud at gmail.com
Wed Jan 19 11:05:49 CET 2011

On 19 January 2011 10:24, Colin Guthrie <mageia at colin.guthr.ie> wrote:
> I think he's saying that if you do this:
>  Name: foo
> then you can subsequently use %name elsewhere in the spec and all will
> be well.
> But if you use:
>  Version: 1.0
> then you cannot use %version elsewhere in the spec.
> So defining it manually is the best way to do it so it can be used
> elsewhere.
> However, I could not replicate that here on my pre-RPM5 cooker box.
> Using the version with the tag and using %version worked just fine. So I
> think I have misinterpreted too :s

Indeed since I've used "Version: 1.0" for 12 years...

More information about the Mageia-dev mailing list