[Fedora-packaging] disttag

Tom 'spot' Callaway tcallawa at redhat.com
Sat Feb 26 17:30:47 UTC 2005


On Sat, 2005-02-26 at 18:29 +0100, Michael Schwendt wrote:
>On Thu, 24 Feb 2005 17:28:38 -0600, Tom 'spot' Callaway wrote:
>
>> Maintainers would not be required to use %{disttag}. However, should
>> they choose to do so, it should be placed at the end of the release
>> field, preceeded by a period, e.g. Release: 1.%{disttag}.
>
>Not with a period, of course, because if undefined, the release
>would included the period and become "1." instead of "1".

Yes, that mistake has been caught.

The syntax would be:

Release: 1%{?disttag:.%{disttag}}

~spot
---
Tom "spot" Callaway: Red Hat Sales Engineer || GPG Fingerprint: 93054260
Fedora Extras Steering Committee Member (RPM Standards and Practices)
Aurora Linux Project Leader: http://auroralinux.org
Lemurs, llamas, and sparcs, oh my!




More information about the packaging mailing list