blob: d6a779c7a9431db3a04654ff464c999e66b465ea (
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
<%-
default_distro = scope.lookupvar('buildsystem::var::distros::default_distro')
distros = scope.lookupvar('buildsystem::var::distros::distros')
-%>
[global]
verbose = no
default_parent = <%= scope.lookupvar('buildsystem::var::mgarepo::svn_root_packages') %>/<%= default_distro %>
#url-map = svn\+ssh://svn\.mageia\.org/(.*) file:///\1
tempdir = <%= sched_home_dir %>/repsys/tmp
trunk-dir = <%= default_distro %>
<%-
conf = scope.lookupvar('buildsystem::var::mgarepo::conf')
if conf['global'] != nil
conf['global'].each{|key,value|
-%><%= key %> = <%= value %>
<%-
}
end
-%>
[log]
oldurl = <%= scope.lookupvar('buildsystem::var::mgarepo::oldurl') %>
# controls up to which revision the rpm changelog
# will be constructed (default zero, i.e., oldest
# commit)
# revision-offset = 0
# commit lines containing this string won't be shown in the changelog:
ignore-string = SILENT
[template]
path = /usr/share/repsys/default.chlog
[users]
iurt = Mageia build bot <mageia-sysadm@<%= domain %>>
[submit]
default = <%= default_distro %>
host = <%= scope.lookupvar('buildsystem::var::mgarepo::submit_host') %>
[submit cauldron]
target = <%= sched_home_dir %>/repsys/srpms
allowed = svn://svn.<%= domain %>/svn/packages/cauldron
rpm-macros = global cauldron
[submit 1]
target = <%= sched_home_dir %>/repsys/srpms
allowed = svn://svn.<%= domain %>/svn/packages/updates/1
rpm-macros = global 1
[submit 2]
target = <%= sched_home_dir %>/repsys/srpms
allowed = svn://svn.<%= domain %>/svn/packages/updates/2
rpm-macros = global 2
[submit infra_1]
target = <%= sched_home_dir %>/repsys/srpms
allowed = svn://svn.mageia.org/svn/packages/
rpm-macros = global 1
[submit infra_2]
target = <%= sched_home_dir %>/repsys/srpms
allowed = svn://svn.mageia.org/svn/packages/
rpm-macros = global 2
[macros global]
distsuffix = .mga
# mkrel definition to be removed when rpm-setup is updated on main build node
mkrel(c:) = %{-c: 0.%{-c*}.}%{1}%{?subrel:.%subrel}%{?distsuffix:%distsuffix}%{?!distsuffix:.mga}%{?distro_release:%distro_release}
distribution = Mageia
vendor = Mageia.Org
_real_vendor = mageia
[macros cauldron]
distro_release = 3
[macros 1]
distro_release = 1
[macros 2]
distro_release = 2
[helper]
create-srpm = /usr/share/repsys/create-srpm
upload-srpm = /usr/local/bin/mga-youri-submit
# needed by mdvsys 2.0
install-buildrequires = sudo rurpmi --auto --no-suggests
upload-bin = /usr/local/bin/wrapper.upload-bin
[srpm]
run-prep = yes
[binrepo]
<%- binrepo_hostname = scope.lookupvar('buildsystem::var::binrepo::hostname') -%>
download_url = http://<%= binrepo_hostname %>/
upload_host = <%= binrepo_hostname %>
|