Action requested: check dist tags and conditionals

Björn Persson bjorn at xn--rombobjrn-67a.se
Sun Jun 7 13:49:34 UTC 2009


Dennis Gilmore wrote:
> %if 0%{?fedora} <= 8 || 0%{?rhel} <= 5

Won't that expression always be true, except if both %{fedora} and %{rhel} are 
defined? I can only guess on how this works but it seems to me that, in 
Fedora 10 for example, it will be expanded to "%if 010 <= 8 || 0 <= 5", which 
will be true because 0 is less than 5. (I'm assuming that "||" is the "or" 
operator from C.)

Björn Persson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20090607/eeaf9d56/attachment.sig>


More information about the fedora-devel-list mailing list