some fixes so 'python setup.py bdist_rpm' works

Its nicer now