tool for building salt locally. It generates repos too.

Requires: mock (rpm build too, not python-mock)

Example Usage:

./build-salt-repo.sh salt 2014.1.0 2 \
http://pypi.python.org/packages/source/s/salt/salt-2014.1.0.tar.gz \
'fedora-19 epel-6 epel-5'

The above command will build salt-2014.1.0-2.src.rpm and then build
all the binary RPMs for fedora-19, epel-6, and epel-5'. It will
then run createrepo in each directory.
include the fix-setup-py.patch