Google
  Web www.spinics.net

Re: Are brackets around macros required?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 18 August 2011 21:49, Christopher Aillon <caillon@xxxxxxxxxx> wrote:
> The point is that many specs need something like %{name}v%{version} or
> %{name}config but NOT %{namev}%{version} or %{nameconfig}.  Without
> brackets, they would be parsed as the latter which would not be the
> intended result (don't forget many packagers are not programmers by nature).
>
> I would support explicitly making usage of brackets on macros a SHOULD
> item for packaging guidelines/reviews.

Fully agree, fwiw.

IMO, the guiding principle should be the answer to the question "what
style would most enable another packager to pick up the spec file and
fix problems with it". Knowing the intimate low-level workings of the
spec file parser should not be a requirement for maintaining any
package in Fedora when there are available syntaxes which negate the
need for that intimate low-level knowledge.
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging



[Home]     [Fedora Legacy]     [Fedora Desktop]     [Red Hat 9 Bible]     [Fedora Bible]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux

Google
  Web www.spinics.net