Add install build phase to copy rpms to output
Only try install phase when install.conf is present

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Don't create the output dir if there's nothing to output.

This was confusing the build system.

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Return error when nothing configured

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Clean up build directories before building

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Merge pull request #1 from simonjbeaumont/build-from-clean

Clean up build environment before build phase
Error if no conf.json found

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
configure: Take source URLs from the spec files instead of conf.json

Separate changes in the relevant specs repositories add the full
URLs to the spec files and remove the conf.json files.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
configure: Split git tag searching from tarball downloading

Signed-off-by: Euan Harris <euan.harris@citrix.com>
configure: Have git archive generate tar.gz directly

Signed-off-by: Euan Harris <euan.harris@citrix.com>
configure: Factor out specfile preprocessing into a separate function

Signed-off-by: Euan Harris <euan.harris@citrix.com>
configure: Add version to tarball name and result directory

Signed-off-by: Euan Harris <euan.harris@citrix.com>
configure: Remove the @PREFIX@ substitution

Signed-off-by: Euan Harris <euan.harris@citrix.com>
configure: Copy spec files before rewriting

Signed-off-by: Euan Harris <euan.harris@citrix.com>
configure: Use urlparse to process git:// URLs

Signed-off-by: Euan Harris <euan.harris@citrix.com>
configure: Separate repository version query from archive download

Signed-off-by: Euan Harris <euan.harris@citrix.com>
configure: Rewrite spec files using Python, not sed

Signed-off-by: Euan Harris <euan.harris@citrix.com>
configure: Download git source after rewriting spec file

Use the rewritten URL in the spec file.    This makes the
flow of control for git-based packages more simlilar to
the flow for tarball-based packages.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
configure: Fix most pylint warnings

Also tidy up whitespace

Signed-off-by: Euan Harris <euan.harris@citrix.com>
configure: Remove globals, fixing last pylint warnings

Signed-off-by: Euan Harris <euan.harris@citrix.com>