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.
+Smock is a thin wrapper around mock to let you build up a whole set of
+dependant RPMs against an external distro. Mock needs access to the
+repositories created by smock. This can happen either using httpd or direct
+file access.
- Create directory $HOME/public_html/smock
- - Copy smock.httpd.conf to /etc/httpd/conf.d/smock.conf, changing the
+ - Optional: Copy smock.httpd.conf to /etc/httpd/conf.d/smock.conf, changing the
/home/[USERNAME]/ to your user
- - Start or restart httpd
+ - Optional: Start or restart httpd
- Insert smock.mock.extra to all your repos in /etc/mock/ changing the
- USERNAME and distro name to match
+ USERNAME and distro name to match. If you do not want to use the http
+ server, use the direct file access baseurl instead of the http based one.
- Disable SELinux (/usr/sbin/setenforce Permissive) and you may
need to do 'chmod 0755 ~' to allow the web server to access your