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>
Merge pull request #107 from euanh/build-improvements

Remove the need to install xenserver.cfg in /etc/mock
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>
Merge pull request #108 from euanh/build-improvements

build: Work around RPM library limitations in RPM 4.8 on CentOS 6.4
build: Remove requirement to build in $HOME/rpmbuild

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Merge pull request #109 from euanh/build-improvements

build: Remove requirement to build in $HOME/rpmbuild
build: Don't print errors if configure.sh is run more than once

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Merge pull request #110 from euanh/build-improvements

build: Don't print errors if configure.sh is run more than once