Differences between Fakeroot and Mock & Suggested method

Richard Shaw hobbes1069 at gmail.com
Wed Oct 9 19:39:32 UTC 2013


On Wed, Oct 9, 2013 at 2:32 PM, Matt Eskes <meskes at gmail.com> wrote:

>         As I am more familiar with fakeroot, I'd like to keep using that,
> but
> at the same time, I'd like to do it the "Red Hat way" to ensure that the
> package conforms to both Red Hat and Fedora packaging standards.


Mock would be recommended as it's the way packages are built on koji...
Mock is really just a python wrapper that allows you to build packages for
different versions of Fedora in a clean chroot with just the build
requirements specified in the spec file installed (and some standard ones).
It caches packages to make building the chroot faster and that way you only
start with a clean chroot unless your specify otherwise.

I'm not familiar with fakeroot but I assume you set it up and leave the
fake root installed?

Check out the following links and it should get you started:

http://fedoraproject.org/wiki/Projects/Mock
http://fedoraproject.org/wiki/Using_Mock_to_test_package_builds

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20131009/afed8932/attachment.html>


More information about the devel mailing list