-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcentos-4-i386.cfg
81 lines (66 loc) · 2.36 KB
/
centos-4-i386.cfg
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# coding=utf-8
config_opts['root'] = 'centos-4-i386'
config_opts['target_arch'] = 'i386'
config_opts['chroot_setup_cmd'] = 'install buildsys-build coreutils'
config_opts['dist'] = 'el4' # only useful for --resultdir variable subst
#config_opts['plugin_conf']['ccache_enable'] = True
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
debuglevel=1
logfile=/var/log/yum.log
reposdir=/dev/null
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
# repos
[core]
name=base
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=i386&repo=os
baseurl=http://vault.centos.org/4.9/os/i386/
exclude=php* mysql* postfix* postgresql*
[update]
name=updates
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=i386&repo=updates
baseurl=http://vault.centos.org/4.9/updates/i386/
[centosplus]
includepkgs=php* mysql* postfix* postgresql*
name=plus
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
baseurl=http://vault.centos.org/4.9/centosplus/i386/
[hrb]
name = hrb
baseurl = http://repository.vsb.cz/hrb33/el4/hrb/stable/i386/
[groups]
name=groups
#baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel4/i386/
baseurl=http://dev.centos.org/centos/buildsys/4/
#[extras]
#name=epel
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=i386
#[testing]
#name=epel-testing
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel4&arch=i386
#[local]
#name=local
#baseurl=http://buildsys.fedoraproject.org/plague-results/fedora-4-epel/
[rpmforge]
name = rpmforge
mirrorlist = http://apt.sw.be/redhat/el4/en/mirrors-rpmforge
exclude=perl-Test-Simple
[rpmforge-extras]
name = rpmforge-extras
mirrorlist = http://apt.sw.be/redhat/el4/en/mirrors-rpmforge-extras
exclude=perl-Test-Simple
"""
config_opts['macros']['%packager']= 'David Hrbáč <[email protected]>'
config_opts['macros']['%dist']= '.el4.hrb'
config_opts['macros']['centos_ver']= 4
config_opts['macros']['%rhel']= 4
config_opts['macros']['%el4']= 1
config_opts['macros']['%with()']= '%{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}}'
config_opts['macros']['%without()']= '%{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}}'
config_opts['macros']['%bcond_with()']= '%{expand:%%{?_with_%{1}:%%global with_%{1} 1}}'
config_opts['macros']['%bcond_without()']= '%{expand:%%{!?_without_%{1}:%%global with_%{1} 1}}'