[Fedora-packaging] disttag
Bill Nottingham
notting at redhat.com
Fri Feb 25 22:19:49 UTC 2005
Tom 'spot' Callaway (tcallawa at redhat.com) said:
> On Fri, 2005-02-25 at 21:26 +0200, Ville Skyttä wrote:
> >On Fri, 2005-02-25 at 19:43 +0100, Dag Wieers wrote:
> >
> >> You can use:
> >>
> >> rpm -qf /etc/redhat-release --qf '%{RPMTAG_VERSION}\n'
> >
> >...or just %{VERSION} (in uppercase).
>
> Ok. New macros:
So, every package BuildRequires: redhat-release?
Frankly, I think it's somewhat gross. Not that I have better
solutions off of the top of my head.
Bill
More information about the Fedora-packaging
mailing list