.. _local:

local
=====

.. program:: local

Synopsis
--------

::

    sample-rpkg local [-h] [--builddir BUILDDIR] [--arch ARCH] [--md5]
                      [--with BCOND_WITH] [--without BCOND_WITHOUT]

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

Locally test run of rpmbuild producing binary RPMs. The rpmbuild output will be logged into a file named .build-%{version}-%{release}.log



Options
-------

.. option:: -h --help

   show this help message and exit

.. option:: --builddir

   Define an alternate builddir

.. option:: --arch

   Prep for a specific arch

.. option:: --md5

   Use md5 checksums (for older rpm hosts)

.. option:: --with

   Enable configure option (bcond) for the build

.. option:: --without

   Disable configure option (bcond) for the build