8c2a1c0 Disable the dist generators for Python 2

Authored and Committed by churchyard 3 years ago
    Disable the dist generators for Python 2
    
    https://fedoraproject.org/wiki/Changes/Disable_Python_2_Dist_RPM_Generators_and_Freeze_Python_2_Macros
    
    The regex previously matched any Python version in a form of <single digit>.<at least one digit>.
    
    Now it matches anything from 3.0 above: <single digit (3 or higher)>.<at least one digit>
    
    It still does not match <multiple digits>.<at least one digit>, e.g. 11.0.
    
    This is a breaking change, hence the version bump.
    
        
file modified
+6 -2
file modified
+1 -1