more fixes of setup.py to build rpm