Mock
From Dogtag
Contents
Installation
$ dnf install mock
Configuration
Mock configuration files are located at /etc/mock. It contains the configuration file for each supported platform.
Initialization
The platform configuration is available in /etc/mock/<platform>.cfg.
To initialize the mock environment:
$ mock -r <platform> --init
For example:
$ mock -r fedora-rawhide-x86_64 --init
Building a Package
To build a package:
$ mock -r <platform> --rebuild <source RPM>
The result will be stored in /var/lib/mock/<platform>/result.
Clean Up
$ mock -r <platform> --clean