3 by Dan Berrange and Richard W.M. Jones.
6 Smock is a thin wrapper around mock to let you build up a whole
7 set of dependant RPMs against an external distro.
9 - Create directory $HOME/public_html/smock
11 - Copy smock.httpd.conf to /etc/httpd/conf.d/smock.conf, changing the
12 /home/[USERNAME]/ to your user
14 - Start or restart httpd
16 - Insert smock.mock.extra to all your repos in /etc/mock/ changing the
17 USERNAME, arch and distro name to match
19 - Disable SELinux (/usr/sbin/setenforce Permissive) and you may
20 need to do 'chmod 0755 ~' to allow the web server to access your
25 ./smock.pl --arch=i386 --arch=x86_64 --distro=fedora-9 list of srpms
27 And it'll build the all the SRPMs listed on the command line, using
28 previously built SRPMs as dependencies for later ones. You don't need
29 to list them in the proper order - the build order is worked out using
32 The resulting src RPMs, binary RPMs and build logs wil be put into
33 $HOME/public_html/smock, and a Yum repo created. Further RPMs you
34 build using smock will resolve the BuildRequires against this local