10e4a67 python, keygen: drop comments after %endif

Authored and Committed by praiskup 4 years ago
    python, keygen: drop comments after %endif
    
    New RPMs (rpmbuild, rpmlint) print an ugly warning for this:
    warning: extra tokens at the end of %endif directive in line 106:  %endif # with python2
    warning: extra tokens at the end of %endif directive in line 140:  %endif # with python3
    warning: extra tokens at the end of %endif directive in line 160:  %endif # with python3
    warning: extra tokens at the end of %endif directive in line 206:  %endif # with python3
    warning: extra tokens at the end of %endif directive in line 213:  %endif # with python2
    
    Merges: #1029
    
        
file modified
+1 -1
file modified
+5 -5