On Wed, Jan 19, 2011 at 11:05:49AM +0100, Thierry Vignaud wrote:
On 19 January 2011 10:24, Colin Guthrie <[email protected]> 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...
take at lvm2 srpm
and try to use %version anywhere in the spec,
you will be surprised by the result.
btw i believe Name to be buggy as well, but there is no use in having
two "Name:" tags in a single spec, so it will never surface.
L.
--
Luca Berra -- [email protected]