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
[smock]
name=smock
baseurl=http://127.0.0.1/USERNAME-smock/yum/fedora-9/$basearch
+# If you do not want to use a http server, you need to specify a direct path to the
+# repository. Then comment out the other baseurl line.
+#baseurl=file:///home/USERNAME/public_html/yum/fedora-9/$basearch
enabled=1
keepcache=0
localrepo directory).
B<NOTE:> Please read the README file first. You need to set up mock
-and a web server before you can use this command.
+and optionally a web server before you can use this command.
=head1 OPTIONS