Add .gitreview

Change-Id: I24a8d5d597e5b435ee2daef631556029698d49f3
Install RDO while building packages

We're not interested in maintaining all of the non openstack
dependency packages, for these we can rely on RDO.

Change-Id: I08be7eefa9e7160649e6a79dabbda2e4372b2727
Get version for last line output from setup.py

I some cases setup.py outputs a warning before the version,
to avoid it being read as the version we only look at the
last line output.

Change-Id: Ia887ac96dc2012a61f2db946fd41711c876cefca
Set release to 999 for released commits

If the commit being built is a released version we need to
make sure the delorean release version is high enough to take
preference over the distro (which may have a higher release number).

Change-Id: I7e98e6ed65dc32492b04030ed2d94bbcd01f4e7f
Install gcc in build image

gcc is required to build some packages but isn't required in the spec
file so have it preinstalled.

Change-Id: I9132f8572f61e8bdaae62f7fc41b6fc29ad615e7
Add --dev option (dev mode)

In dev mode delorean does a number of things differently to make it
easier for people to test packaging changes
o Builds arn't committed to the database so if run a second time delorean
  will rebuild a RPM even if it has already seen it.
o Don't do any git operations on the packaging repository so local
  changes are maintained between runs, this allows the packager to run
  delorean multiple times with having to commit changes in order to
  test them.
o The public delorean repository is installed in the build image. This
  will allow people to worry about a single package without having to
  build all of its dependencies.

Change-Id: Id62b6e6539afc539e7226c75f57505276c958eb1
Check db for already built commit hashes

Check the db for each commit/spec hash to see if it has already
been built. The old method of only checking against the last build
fails if the repository has multiple commits with the same commit
time(which caused delorean to keep looping over and building the
commits with the same timestamp).

Change-Id: I62ac252ee1dcb1f3efdd4b84379a00a1d7d9f95b