Changes

Jump to: navigation, search

SBR600 Mock and Koji Lab

58 bytes added, 09:52, 19 January 2012
Testing BuildRequires with Mock
== Testing BuildRequires with Mock ==
# Run this command for each of your SRPMs: <code>mock -r fedora-1326-x86_64 ''yourSRPM''</code>#* Replace ''fedora-1326-x86_64'' with the appropriate distribution-release-arch values; the example is for Fedora 26 on 64-bit AMD/Intel systems. This must correspond to a config file in <code>/etc/mock</code> (without the <code>.cfg</code> extension).
#* Replace ''yourSRPM'' with the filename of the SRPM you wish to test.
# If there are errors, they will be recorded in the results directory. Refer to the ''mock'' output for the location of the results directory, which will vary according to the mock configuration file used (if the configuration is ''fedora-1326-x86_64'', the results will be in <code>/var/lib/mock/''fedora-1326-x86_64''/result</code>).
# Correct any errors by adding appropriate <code>BuildRequilres:</code> tags, build the source RPM, and then retest.

Navigation menu