Fixes #5651: Use the same SPEC macro version comparison everywhere

Ticket: http://www.rudder-project.org/redmine/issues/5651

To be merged in master

This commit uses the same way of comparing OS versions everywhere, to prevent "less than / less of equal than" comparisons from breaking due to macro expansion to 0 if the macro is not defined.

0%{?rhel} <= 4 becomes %if 0%{?rhel} && 0%{?rhel} <= 4 (making the expansion to 0 harmless as the first condition is also 0, meaning false in the case of a "if"
This seems like overkill, since the bug we're trying to fix is when you use the pattern ```0%{?var} < constant```, and this is not the case. But I don't want to delay this any longer, and it doesn't do any harm, so merging.