build: Store tarball URLs in spec files

RPM only cares about the basename part of a Source: filename,
so we can store the original download URL there as long as
the downloaded file has the correct name.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
build: Remove unnecessary build directory name overrides

If the source tarball expands to produce a directory called
%{name}-%{version}, RPM will automatically find it.   -n is only needed
when the directory produced by the tarball has a name which doesn't fit
this pattern.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
build: Move tarball downloading into the makefile

With source URLs now embedded in the spec files, we can generate
rules to download the tarballs needed to build each SRPM.

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

Remove sources.csv and fetch.py
Add xsconsole spec file. Uses temporary github location pending formal release.
Merge pull request #101 from jamesbulpin/master

Add xsconsole spec file.
obuild: Remove hard-coded version number from source download URL

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

obuild: Remove hard-coded version number from source download URL
Update the xenserver install wizard

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Update xapi-libvirt-storage to 0.9.2

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Update packages to make more openstack-friendly

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
A large batch of updates

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Update ffs

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Lots and lots of lovely updates

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge pull request #103 from euanh/dave-merge

Merge in changes from djs55/xen-api-rpm-buildroot:make-srpms branch
build: Use correct value of %dist in RPM and SRPM dependencies

RPMs are built in the mock chroot, so filenames in dependency
rules should use the value of %dist from the mock - typically
a CentOS value such as '.el6'.   SRPMs are built outside the
mock chroot, so their names will include the value of %dist
set by the host operating system - for instance '.fc18'.

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

build: Use correct value of %dist in RPM and SRPM dependencies
build: Reduce the volume of output printed during the build

Some stages of the build can produce an enormous volume of
output, which makes it hard to see what's going on.   This
change causes make to echo just the name of the command it
is running and the target it is building.   The commands
will still write error messages to standard output if they
fail.

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

build: Reduce the volume of output printed during the build
Add libnl-3

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>