Currently "python setup.py bdist_rpm" aborts wih an error on Mageia Linux 2/Cauldron (and probably some similar distributions such as Mandriva). See:
https://sourceforge.net/tracker/?func=detail&aid=2977749&group_id=306236&atid=1290286
This patch fixes the problem by changing install-rpm.sh.
Since I could not find a way to create my own clone of the Git repository on SourceForge.net, I have set up a GitHub repository with my changes, and you can pull it from there:
* https://github.com/shlomif/patool
* git://github.com/shlomif/patool.git
Regards,
-- Shlomi Fish
The patch to correct install-rpm.sh