The RPM package control files are stored in a git repository which we will checkout and use. We have to clone it to a very specific location in order to preserve the hard-coded paths in the build scripts. This specific location is almost always available on every flavor of Linux; /tmp

Checkout moose_compiler_package repository

cd /tmp
git clone

Build the RPM redistributable package

There are several operating system directories within moose_compiler_package directory. Change into the directory which pertains to your OS.

export PACKAGES_DIR=/opt/moose
cd /tmp/moose_compiler_package/<OS>_PACKAGE

This step can take a bit, resulting in a package which can no be deployed to other users. Of course, at this stage, one should thoroughly test this package, to make sure all dependencies have been met.