hi, in the spec file it's have to be: %if 0%{?fedora} >= 8 in stead of %if 0%{fedora} >= 8 and in this case is clearly compile on rhel too.
Thank you for the bug report. Your issue appears to also be advised in the Packaging Guidelines available at https://fedoraproject.org/wiki/Packaging/DistTag#Conditionals. For example, a recommended use is: %if 0%{?fedora} >= 4 %endif Changing to ASSIGNED.
*** Bug 465274 has been marked as a duplicate of this bug. ***
but even the latest rawhide spec file not contain this one char fix:-(
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle. Changing version to '10'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fixed in CVs and upstream, thanks for the report, sorry I didn't saw it earlier ! Daniel