[Fedora-packaging] Are brackets around macros required?

Tom Callaway tcallawa at redhat.com
Fri Aug 19 20:37:56 UTC 2011


On 08/19/2011 11:00 AM, Michael Schwendt wrote:
> Unless we can teach editors (the most common ones used to edit RPM spec files)
> to do the variable highlighting correctly, explicit brackets are the way to go.
> If a variable name is surrounded by whitespace, missing brackets are okay.

Or, you can just build a habit around always using brackets and avoid 
spending an hour trying to figure out why a macro is evaluating 
incorrectly or why a file name is being written out wrong. :)

~tom

==
Fedora Project


More information about the packaging mailing list