[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Action requested: check dist tags and conditionals



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

Attachment: signature.asc
Description: This is a digitally signed message part.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]