## Internal Citrix Usage

Find an SRPM you'd like to build, either one you've built yourself, or
one from the
[build system](http://coltrane.uk.xensource.com/usr/groups/build/trunk/latest/binary-packages/RPMS/domain0/SRPMS/)

Start a container with a XenServer branch name, zero or more package names, and
zero or more SRPM paths like so:

```sh
./run.py -b trunk-ring3 -p xapi -s xenopsd-0.10.1-1+s0+0.10.1+10+gf2c98e0.el7.centos.src.rpm
```

The container will run yumdownloader to download the SRPM for each package
specified with -p, run yum-builddep against these SRPMs as well as the SRPMs
specified with -s, and drop you into an interactive shell.  You should then have
all the dependencies to be able to build the components whose SRPM or package
name was specified above, e.g.

```sh
git clone git://github.com/xapi-project/xenopsd
cd xenopsd
./configure
make
```

## Internal Citrix Usage

Find an SRPM you'd like to build, either one you've built yourself, or
one from the
[build system](http://coltrane.uk.xensource.com/usr/groups/build/trunk/latest/binary-packages/RPMS/domain0/SRPMS/)

Start a container with a XenServer branch name, zero or more package names, and
zero or more SRPM paths like so:

```sh
./run.py -b trunk-ring3 -p xenopsd -s xenopsd-0.10.1-1+s0+0.10.1+10+gf2c98e0.el7.centos.src.rpm
```

The container will run yumdownloader to download the SRPM for each package
specified with -p, run yum-builddep against these SRPMs as well as the SRPMs
specified with -s, and drop you into an interactive shell.  You should then have
all the dependencies to be able to build the components whose SRPM or package
name was specified above, e.g.

```sh
git clone git://github.com/xapi-project/xenopsd
cd xenopsd
./configure
make
```

Fix up package in internal example
README: Fix up package in internal example

Signed-off-by: Si Beaumont <a0992b7f1f450b4c7716d34b81a2d6f0877ae11a@citrix.com>
