[CentOS] Helper variables like %{rhel} on CentOS

Thu Jan 6 13:12:58 UTC 2011
Nico Kadel-Garcia <nkadel at gmail.com>

On Thu, Jan 6, 2011 at 3:34 AM, Akemi Yagi <amyagi at gmail.com> wrote:
> On Wed, Jan 5, 2011 at 9:06 PM, Nico Kadel-Garcia <nkadel at gmail.com> wrote:
>> On Wed, Jan 5, 2011 at 2:05 PM, Akemi Yagi <amyagi at gmail.com> wrote:
>
>>> %rhel           0%(/bin/rpm -q -f /etc/redhat-release --qf '%{VERSION}\n' )
>>
>> Gahhh. Proportional fonts in this mail interfaces. We hates it, yes,
>> we hates it!!!!
>>
>> Good catch, though. But why use '%{VERSION}' when '%{version}' will serve?
>
> Well then, you can save even more ...  '%{v}'
>
> :-)

I'd prefer not to "save" myself out of legibility.....