summaryrefslogtreecommitdiff
path: root/rpm/build/mock/centos-5-x86_64.cfg
blob: 448edc682164db39d643e3793289c6e23515bfcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/python -tt
import os

config_opts['root'] = 'centos-5-x86_64'
config_opts['target_arch'] = 'x86_64'


config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
debuglevel=1
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
exclude=[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz]*.i*86 g[abcdefghijkmnopqrstuvwxyz]*.i?86 glib2.i?86 glib.i?86 *-devel.i?86
# repos

[os]
name=os
#mirrorlist=http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=os
#baseurl=http://mirror.centos.org/centos/5/os/x86_64/
baseurl=file:///home/rsiddall/mock/repos/centos/5/os/x86_64/

[updates]
name=updates
#mirrorlist=http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=updates
#baseurl=http://mirror.centos.org/centos/5/updates/x86_64/
baseurl=file:///home/rsiddall/mock/repos/centos/5/updates/x86_64/

[groups]
name=groups
baseurl=http://dev.centos.org/centos/buildsys/5/
"""


config_opts['macros'] = """
%_topdir /builddir/build
%_rpmfilename  %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm

# Change the next two lines to reflect yourself.

%packager  Freeside Internet Services, Inc. <rpm@freeside.biz>
#%vendor   
#%distribution 

# please change this to reflect the Distro Tree and Repo hosting packages!
#%dist    <distro>.<yourtag> 
%centos_ver     5

#%_smp_mflags   -j1

"""