.. _prep:

prep
====

.. program:: prep

Synopsis
--------

::

    sample-rpkg prep [-h] [--builddir BUILDDIR] [--buildrootdir BUILDROOTDIR] [--arch ARCH] [--define DEFINE] ...

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

Use rpmbuild to "prep" the sources (unpack the source archive(s) and apply any patches.)

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