X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=smock%2FREADME;h=54e923d56295956c3282cd0f466dd93fe7c67345;hb=ad0e2a56719be73f6e7aa652db6dae3fc3b1a50a;hp=b6709737156e0abde5a73229dc37a4eb6e2d2661;hpb=8c2edee7328a14d47af8de0b98e61a351fcd2a2d;p=fedora-mingw.git diff --git a/smock/README b/smock/README index b670973..54e923d 100644 --- a/smock/README +++ b/smock/README @@ -4,22 +4,28 @@ Smock is a thin wrapper around mock to let you build up a whole set of dependant RPMs against an external distro. + - Create directory $HOME/public_html/smock + - Copy smock.httpd.conf to /etc/httpd/conf.d/smock.conf, changing the /home/[USERNAME]/ to your user - - Start httpd - - Add smock.mock.conf to all your repos in /etc/mock/ changing the - arch and distro name to match - - Create $HOME/smock - - Edit smock.sh to set which arch(es) you want to build on + - Start or restart httpd + + - Insert smock.mock.extra to all your repos in /etc/mock/ changing the + USERNAME, arch and distro name to match + + - Disable SELinux (/usr/sbin/setenforce Permissive) and you may + need to do 'chmod 0755 ~' to allow the web server to access your + home directory. Now you can run ./smock.sh fedora-9 /path/to/srpm -And it'll build the RPM against the fedora-9-XXX distro for each 'XXX' +And it'll build the RPM against the fedora-9-XXX distro for each 'XXX' arch you listed. The resulting src RPMs, binary RPMs and build logs wil be put into -$HOME/smock, and a YUM repo created. Further RPMs you build using -smock will resolve the BuildRequires against this local repo +$HOME/public_html/smock, and a Yum repo created. Further RPMs you +build using smock will resolve the BuildRequires against this local +repo.