b7d70ba Build: makerpms.sh generates Python 2 & 3 packages at the same time

1 file Authored by pspacek 7 years ago, Committed by mbasti 7 years ago,
    Build: makerpms.sh generates Python 2 & 3 packages at the same time
    
    Petr Viktorin recommended me to copy the whole build directory and run
    configure twice, with different values for PYTHON variable.
    
    After thinking a bit about that, it seems as cleanest approach.
    Building for two versions of Python at the same time should be
    temporary state so I decided not to complicate Autotools build system
    with conditional spagetti for two versions of Python.
    
    For proper Python2/3 distiction in the two separate builds, I added
    find/grep/sed combo which replaces shebangs with system-wide Python
    interpreter as necessary. This is workaround for the fact that FreeIPA
    does not use setuptools properly. Honza told me that proper use of
    setuptools is not trivial so we decided to go with this for now.
    
    https://fedorahosted.org/freeipa/ticket/157
    
    Reviewed-By: Martin Basti <mbasti@redhat.com>
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    
        
file modified
+103 -55