[Fedora-packaging] Are brackets around macros required?

Göran Uddeborg goeran at uddeborg.se
Tue Aug 16 16:23:30 UTC 2011


Mario Blättermann:
> I'm using Gedit for writing and viewing the spec files,
> which uses gtksourceview for syntax highlighting. Gedit doesn't
> recognize any macros without brackets and doesn't highlight them.

That must be a a bug.  Regardless of Fedora's packaging guidelines,
macros without brackets is legal purely syntactically.

https://bugzilla.gnome.org/show_bug.cgi?id=656671

(I'm using emacs, and its SPEC mode works correctly in this case.)

> either always in a certain spec file, or nowhere.

I assume everyone would agree that consistency should be a
requirement.  I will make it consistent in "mindless.spec".  I just
wanted to wait for this discussion to see in which direction I would
change it.


More information about the packaging mailing list