author Ryan Kelly <rfkelly@mozilla.com>
Thu, 24 May 2012 17:06:06 +1000
changeset 521 448e4500f2e4645c880960fa35bc851ab005122a
parent 470 d8ea3c85563d105cf09c624b1c00ab3e3ce037b8
permissions -rw-r--r--
Bug 692355 - comment out nodes.fallback_node in example config files; r=telliott

CentOS packaging

This is the process to release KeyExchange as a RPM collection.

It requires a few tools::

    $ sudo yum install rpm-build python26 python26-setuptools gcc python26-devel mysql-devel openldap-devel
    $ sudo easy_install-2.6 virtualenv
    $ sudo easy_install-2.6 distribute

Next, call make build to pull dependencies and set up a build environment::

    $ make build

To check that the environment works, make test should not fail::

    $ make test

Now you can create the RPM collection for the project and its dependencies::

    $ make build_ldap
    $ make build_rpms

Once this is over, you will find all rpms rpms/.