Refacter rpm script to use named arguments instead of parsing args by position