[fix] only set default permissions for files in rpm if no explicit permissions have been set
[cleanup] formatting, code style
Merge pull request #5 from tkrille/master

[fix] only set default permissions for files in rpm if no explicit permissions have been set