Changes

From SME Server
Jump to navigationJump to search
Line 103: Line 103:     
==== Installing Mock ====
 
==== Installing Mock ====
 +
{{note box|Mock creates chroots and builds packages in them. Its only task is to reliably populate a chroot and attempt to build a package in that chroot. Mock is currently being used for all Fedora builds. Mock takes a srpm and builds it in a chroot. This ensures that your [http://fedoraproject.org/wiki/Packaging:Guidelines#BuildRequires_2 BuildRequires] lines are correct, that there are no missing dependencies, and that it builds cleanly. The [http://fedoraproject.org/wiki/Projects/Mock Mock project] page has more information on Mock.}}
 +
 
Install mock, make and rpm-build and python-ctypes packages (the latter for better setarch support)
 
Install mock, make and rpm-build and python-ctypes packages (the latter for better setarch support)
 
<syntaxhighlight lang="Bash">
 
<syntaxhighlight lang="Bash">

Navigation menu