[Fedora-packaging] Re: Macro question for rpm gurus

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Mon May 4 15:12:12 UTC 2009


Gagadget <gagadget at gmail.com> writes:

> If i do
> # %define PATCHVER 1
>
> The PATCHVER is still define, I have to delete it to get it work ??? Is it
> normal ?

yes; '#' does not affect macro definitions. I usually replace the '%'
with '#'; e.g.

-%define PATCHVER 1
+#define PATCHVER 1


Enrico




More information about the Fedora-packaging mailing list