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