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

Thu Jan 6 08:34:56 UTC 2011
Akemi Yagi <amyagi at gmail.com>

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}'

:-)

Akemi