From ff4e2e0d1e851781faaa9dbc0411e3643240eb90 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Fri, 12 Feb 2010 16:26:25 +0100 Subject: [PATCH] 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. --- smock/README | 2 +- smock/smock.mock.extra | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 1.8.3.1