448edc682164db39d643e3793289c6e23515bfcc
[freeside.git] / rpm / build / mock / centos-5-x86_64.cfg
1 #!/usr/bin/python -tt
2 import os
3
4 config_opts['root'] = 'centos-5-x86_64'
5 config_opts['target_arch'] = 'x86_64'
6
7
8 config_opts['yum.conf'] = """
9 [main]
10 cachedir=/var/cache/yum
11 debuglevel=1
12 reposdir=/dev/null
13 logfile=/var/log/yum.log
14 retries=20
15 obsoletes=1
16 gpgcheck=0
17 assumeyes=1
18 exclude=[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz]*.i*86 g[abcdefghijkmnopqrstuvwxyz]*.i?86 glib2.i?86 glib.i?86 *-devel.i?86
19 # repos
20
21 [os]
22 name=os
23 #mirrorlist=http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=os
24 #baseurl=http://mirror.centos.org/centos/5/os/x86_64/
25 baseurl=file:///home/rsiddall/mock/repos/centos/5/os/x86_64/
26
27 [updates]
28 name=updates
29 #mirrorlist=http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=updates
30 #baseurl=http://mirror.centos.org/centos/5/updates/x86_64/
31 baseurl=file:///home/rsiddall/mock/repos/centos/5/updates/x86_64/
32
33 [groups]
34 name=groups
35 baseurl=http://dev.centos.org/centos/buildsys/5/
36 """
37
38
39 config_opts['macros'] = """
40 %_topdir /builddir/build
41 %_rpmfilename  %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
42
43 # Change the next two lines to reflect yourself.
44
45 %packager  Freeside Internet Services, Inc. <rpm@freeside.biz>
46 #%vendor   
47 #%distribution 
48
49 # please change this to reflect the Distro Tree and Repo hosting packages!
50 #%dist    <distro>.<yourtag> 
51 %centos_ver     5
52
53 #%_smp_mflags   -j1
54
55 """
56
57