[Fedora-packaging] disttag

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Tue Mar 1 02:01:38 UTC 2005

"Tom 'spot' Callaway" <tcallawa at redhat.com> writes:

>>An easy to way to fix this would be to have "%{?disttag}" appended to the
>>"Release:" line of the spec by the build system, and have the "." returned
>>by the macro
> ...
> I prefer the %{?disttag:.%{disttag}} syntax for use, if for no other
> reason than it makes the macro a little cleaner.

IMO, the opposite it true... defining the macro happens once at a central
place invisible for most people, but it will be used in hundreds of .spec
files (perhaps). So I would prefer a clear and simple usage.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20050301/38f3a223/attachment.sig>

More information about the Fedora-packaging mailing list