CENTOS.txt
author Ryan Kelly <rfkelly@mozilla.com>
Wed, 16 Jul 2014 18:15:33 +1000
changeset 264 db7e0528263ef69032285dc202791bb196f8c11b
parent 189 9846b49588aaa251c2af0ecc9f283407712e52b8
permissions -rw-r--r--
Really use venv python when building scrypt rpm

================
CentOS packaging
================

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

It requires a few tools::

    $ yum install rpm-build python26 python26-setuptools gcc
    $ easy_install-2.6 virtualenv


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 all RPM for the project and its dependencies::

    $ make build_rpms

Once this is over, you will find all RPMs in rpms/

Then you can install python26-keyexchange with Yum will install all
dependencies, including those we've created.