Fix catkin build process

This is described at https://github.com/ros/catkin/commit/7ad0404cd8f2cc30b9e9a1882689af0cdc92a328
Rebase from 'release/groovy/catkin'
Placing RPM template file
Fix catkin build process

This is described at https://github.com/ros/catkin/commit/7ad0404cd8f2cc30b9e9a1882689af0cdc92a328