[Mageia-dev] Importing RPM Spec File Syntax

Luca Berra bluca at vodka.it
Wed Jan 19 07:47:42 CET 2011

On Mon, Jan 17, 2011 at 11:50:32PM +0100, Per Øyvind Karlsen wrote:
>Legacy practice which got stuck with some...
>'Name: foo' will always define %{name} now (which has been the case for ages),
>so there's no longer use in doing this anymore.
>It mainly adds unnecessary obscurity and confusion, please just drop this.
"Name: foo"
appers to be working
in rpm 4.6 "Version: foo" is totally borked, dunno with rpm 5
this is why i will continue on using macros for version and release.
%define myver 1.0
%define myrel %mkrel 1

Name: foo
Version: %myver
Release: %myrel


Luca Berra -- bluca at vodka.it

More information about the Mageia-dev mailing list