Merge pull request #253 from euanh/build-improvements

pbuilder: Remove avsm's deb-src, too
Merge pull request #254 from euanh/build-improvements

pbuilder: Fix typo in pbuilderrc
Merge pull request #255 from BobBall/master

Only attempt to install packages if they are not present
mappkgname: Drop architecture annotations when mapping package names

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

mappkgname: Drop architecture annotations when mapping package names
configure: Install ocaml to work around spec files which build opt targets conditionally

makedeb.py expands the spec file %build recipe on the host,
not in a chroot.   The opt target in the %build recipe of some
spec files, such as ocaml-libvirt, is conditional on the existence
of %{_bindir}/ocamlopt.   If ocaml isn't installed on the host,
the opt target won't be included, even though ocamlopt is available
in the chroot.

Installing ocaml on the build host is a quick workaround;  the proper
fix is either to override the check for %{_bindir}/ocamlopt in the
spec file (harder than you might think to do this neatly) or to
run makedeb in the chroot (slow, but accurate).

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

configure: Install ocaml to work around spec files which build opt targe...
mappkgname: Install python-setuptools-git along with python-setuptools on Ubuntu

Needed for openstack-xapi-plugins.

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

mappkgname: Install python-setuptools-git along with python-setuptools o...
xapi: Update to 1.9.30

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

xapi: Update to 1.9.30
ocaml-syslog: Remove package

This package is unmaintained and we no longer need it.
Originally it came from Godi, which is gone; for a while
we got it from OPAM's archive but it has also been removed
from there.

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

ocaml-syslog: Remove package
debian: Don't waste time regenerating the manpage database

By default, APT regenerates the manual page database
after installing packages.   This happens for every
build and takes several seconds, so skipping it should
save quite a lot of time.

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

:relodebian: Don't waste time regenerating the manpage database
debian/configure: Remove Packages and Sources files if they exist

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

debian/configure: Remove Packages and Sources files if they exist
debian: Switch from pbuilder to cowbuilder

For each package it builds, pbuilder creates a new chroot by unpacking
a tarball.    cowbuilder is a wrapper around pbuilder that creates
copy-on-write chroot directories, avoiding the need to unpack the tarball.

Although unpacking the tarball isn't extremely slow, this change should
give us back a few seconds per package.

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

debian: Switch from pbuilder to cowbuilder
debian: Fix leftover references to BASETGZ

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