Open main menu

CDOT Wiki β

Changes

Winter 2010 SBR600 Weekly Schedule

105 bytes added, 12:13, 13 August 2010
mock: Testing BuildRequires
It's often difficult to get the BuildRequires in a spec file exactly right, because it's easy to overlook packages that are coincidentally installed on the machine. <code>mock</code> is a tool that uses the chroot system call to create a "cleanroom" environment for the build, so that any missing BuildRequires cause the build to fail.
 
{{Admon/note|The '''mock''' Group|To use mock, you will need to add yourself to the '''mock''' group.}}
To build with mock: