Tom 'spot' Callaway (tcallawa(a)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