compile

Synopsis

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

Description

This command calls rpmbuild to compile the source. By default the prep and configure stages will be done as well, unless the short-circuit option is used.

Arguments

extra_args

Custom arguments that are passed to the ‘rpmbuild’. Use ‘–’ to separate them from other arguments.

Options

-h --help

show this help message and exit

--builddir

Define an alternate builddir

--buildrootdir

Define an alternate buildrootdir

--arch

Prep for a specific arch

--define

Pass custom macros to rpmbuild, may specify multiple times

--short-circuit

short-circuit compile

--nocheck

nocheck compile