local

Synopsis

sample-rpkg local [-h] [--builddir BUILDDIR] [--buildrootdir BUILDROOTDIR] [--arch ARCH] [--define DEFINE] [--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

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

--md5

Use md5 checksums (for older rpm hosts)

--with

Enable configure option (bcond) for the build

--without

Disable configure option (bcond) for the build