README: Remove unnecessary instruction to create RPMS directory

Mock creates this directory if it doesn't exist.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
build: Take mock configuration from a local directory

This removes the need to be root to set up a build environment.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
build: Work around RPM library limitations in RPM 4.8 on CentOS 6.4

CentOS 6.4 ships with RPM 4.8.   In this version, the sourceHeader
object doesn't seem to handle the 'sources' and 'patches' RPM tags.
Asking for spec.sourceHeader['sources'] always returns an empty list.
Work around this by using spec.sources, which contains the full paths
of sources and patches.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
build: Remove requirement to build in $HOME/rpmbuild

Signed-off-by: Euan Harris <euan.harris@citrix.com>
build: Don't print errors if configure.sh is run more than once

Signed-off-by: Euan Harris <euan.harris@citrix.com>
build: Add a comment about workaround for RPM 4.8 in CentOS 6.4

Signed-off-by: Euan Harris <euan.harris@citrix.com>
build: Fix mock's RPM repository path

Mock still assumes that RPMS can be found in $HOME/rpmbuild/RPMS.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
build: Add short targets for RPMs

N.B. Short targets are based on the name directive in the spec file,
which may differ from the name of the spec file itself.

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