X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=smock%2FREADME;h=8c17ba76743729583d36833c8e12fdfd178e87e2;hb=ac4d9a6beebbbf149712d8a47408d800ce794804;hp=6a4a235b9f44e9a1c3d1c157f038763fae162d76;hpb=3d2e33bc4c25b39c083e7f811cebeaa2602b2884;p=fedora-mingw.git diff --git a/smock/README b/smock/README index 6a4a235..8c17ba7 100644 --- a/smock/README +++ b/smock/README @@ -1,5 +1,7 @@ SMOCK - Simpler Mock ==================== +by Dan Berrange and Richard W.M. Jones. +License: GPLv2+ Smock is a thin wrapper around mock to let you build up a whole set of dependant RPMs against an external distro. @@ -14,18 +16,18 @@ set of dependant RPMs against an external distro. - Insert smock.mock.extra to all your repos in /etc/mock/ changing the USERNAME, arch and distro name to match - - Copy smock.sh to smock and edit which arch(es) you want to build on - - 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 + ./smock.pl --arch=i386 --arch=x86_64 --distro=fedora-9 list of srpms -And it'll build the RPM against the fedora-9-XXX distro for each 'XXX' -arch you listed. +And it'll build the all the SRPMs listed on the command line, using +previously built SRPMs as dependencies for later ones. You don't need +to list them in the proper order - the build order is worked out using +the dependencies. The resulting src RPMs, binary RPMs and build logs wil be put into $HOME/public_html/smock, and a Yum repo created. Further RPMs you