Re: [Fedora-packaging] disttag

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

 



On Fri, 2005-02-25 at 11:55 +0100, Matthias Saou wrote:

>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 (or use a longer "%{?disttag:.%{disttag}}"). That way, when
>disttag is defined (by a newer redhat-rpm-config for instance) it'll be
>expanded for the build, but if it isn't, the build will still work with no
>changes and produce a package with a simple integer release tag.

This is what I meant, but you said it better than I did.

I prefer the %{?disttag:.%{disttag}} syntax for use, if for no other
reason than it makes the macro a little cleaner.

~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!


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux