mockbuild

Synopsis

sample-rpkg mockbuild [-h] [--root CONFIG] [--md5] [--no-clean]
                      [--no-cleanup-after] [--no-clean-all]
                      [--with BCOND_WITH] [--without BCOND_WITHOUT]

Description

This will use the mock utility to build the package for the distribution detected from branch information. This can be overridden using the global –release option. Your user must be in the local “mock” group.

Options

-h --help

show this help message and exit

--root --mock-config

Override mock configuration (like mock -r)

--md5

Use md5 checksums (for older rpm hosts)

--no-clean -n

Do not clean chroot before building package

--no-cleanup-after

Do not clean chroot after building (if automatic cleanup is enabled

--no-clean-all -N

Alias for both --no-clean and --no-cleanup-after

--with

Enable configure option (bcond) for the build

--without

Disable configure option (bcond) for the build