Fixes from Fedora Review

move chmod to outside files section

add requires ruby

add comment to very short scripts

make a more secure temp file

spec file cleanup