.. _install:

install
=======

.. program:: install

Synopsis
--------

::

    sample-rpkg install [-h] [--builddir BUILDDIR] [--buildrootdir BUILDROOTDIR] [--arch ARCH] [--define DEFINE] [--short-circuit] [--nocheck] ...

Description
-----------

This will call rpmbuild to run the install section. All leading sections will be processed as well, unless the short-circuit option is used.

Arguments
---------

.. option:: extra_args

   Custom arguments that are passed to the 'rpmbuild'. Use '--' to separate them from other arguments.



Options
-------

.. option:: -h --help

   show this help message and exit

.. option:: --builddir

   Define an alternate builddir

.. option:: --buildrootdir

   Define an alternate buildrootdir

.. option:: --arch

   Prep for a specific arch

.. option:: --define

   Pass custom macros to rpmbuild, may specify multiple times

.. option:: --short-circuit

   short-circuit install

.. option:: --nocheck

   nocheck install