
In OMPI 2.1.2, buildrpm.sh could work with a value of rpmtopdir that was set in the environment. In newer versions this is no longer true, causing such values to be ignored. This patch adds a new argument to buildrpm.sh, -R, which allows the user to specify where to build the RPMs. Signed-off-by: Michael Heinz <michael.william.heinz@intel.com>