From: Till Maas Date: Fri, 12 Feb 2010 15:26:25 +0000 (+0100) Subject: smock: use $basearch in smock.mock.extra X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;ds=sidebyside;h=ff4e2e0d1e851781faaa9dbc0411e3643240eb90;p=fedora-mingw.git smock: use $basearch in smock.mock.extra Use $basearch instead of manually add the basarch to the baseurl of the repo. This is verified to work with mock-1.0.2-1.fc12. --- diff --git a/smock/README b/smock/README index 8c17ba7..748c1e0 100644 --- a/smock/README +++ b/smock/README @@ -14,7 +14,7 @@ set of dependant RPMs against an external distro. - Start or restart httpd - Insert smock.mock.extra to all your repos in /etc/mock/ changing the - USERNAME, arch and distro name to match + USERNAME 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 diff --git a/smock/smock.mock.extra b/smock/smock.mock.extra index 4112835..33d87a2 100644 --- a/smock/smock.mock.extra +++ b/smock/smock.mock.extra @@ -4,6 +4,6 @@ [smock] name=smock -baseurl=http://127.0.0.1/USERNAME-smock/yum/fedora-9/i386 +baseurl=http://127.0.0.1/USERNAME-smock/yum/fedora-9/$basearch enabled=1 keepcache=0