smock: use $basearch in smock.mock.extra
authorTill Maas <opensource@till.name>
Fri, 12 Feb 2010 15:26:25 +0000 (16:26 +0100)
committerRichard Jones <rjones@redhat.com>
Fri, 12 Feb 2010 15:59:58 +0000 (15:59 +0000)
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
smock/smock.mock.extra

index 8c17ba7..748c1e0 100644 (file)
@@ -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
  - 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
 
  - Disable SELinux (/usr/sbin/setenforce Permissive) and you may
    need to do 'chmod 0755 ~' to allow the web server to access your
index 4112835..33d87a2 100644 (file)
@@ -4,6 +4,6 @@
 
 [smock]
 name=smock
 
 [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
 enabled=1
 keepcache=0