7b29e5d Check RHEL presence for comparisons

Authored and Committed by abbra 3 years ago
    Check RHEL presence for comparisons
    
    A subtle bug is to check for RHEL version smaller than needed:
    
    In RPM macros, '0%{?rhel} < 9' would always be true even if %rhel macro
    is not defined because of the '0' prefix -- '0 < 9' is always true.
    
    Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
    
        
file modified
+5 -5