Fixed RPM spec file to not include 2 %pre tags, but 1 %pre and 1 %post

A fix for enabling --before-upgrade and --after-upgrade in the template/rpm.erb file which included 2 %pre tags where the second should be %post.