Project Configuration of KMP

57
 
1
# vim: syntax=spec
2
# remove build-compare support to disable "same result" package dropping
3
Support: build-compare
4
5
%if "%{_repository}" == "Factory"
6
BuildFlags: onlybuild:gesammelte_werke
7
Type: spec
8
%else
9
BuildFlags: onlybuild:broadcom-wl
10
BuildFlags: onlybuild:r8168
11
%endif
12
%if "%{_repository}" == "lp160"
13
Release: pm160.<CI_CNT>.<B_CNT>
14
%endif
15
%if "%{_repository}" == "15sp7"
16
Release: sp7.<CI_CNT>.<B_CNT>
17
%endif
18
%if "%{_repository}" == "15sp6"
19
Release: sp6.<CI_CNT>.<B_CNT>
20
%endif
21
%if "%{_repository}" == "15sp5"
22
Release: sp5.<CI_CNT>.<B_CNT>
23
%endif
24
%if "%{_repository}" == "15sp4"
25
Release: sp4.<CI_CNT>.<B_CNT>
26
%endif
27
%if "%{_repository}" == "15sp3"
28
Release: sp3.<CI_CNT>.<B_CNT>
29
%endif
30
%if "%{_repository}" == "15sp2"
31
Release: sp2.<CI_CNT>.<B_CNT>
32
%endif
33
%if "%{_repository}" == "15sp1"
34
Release: sp1.<CI_CNT>.<B_CNT>
35
%endif
36
%if "%{_repository}" == "15sp0"
37
Release: sp0.<CI_CNT>.<B_CNT>
38
%endif
39
%if "%{_repository}" == "12sp5"
40
Release: sp5.<CI_CNT>.<B_CNT>
41
%endif
42
43
# rpmlint results (in the rare case they have any meaning) are only relevant for Factory
44
Substitute: clamav bash
45
Substitute: clamav-database bash
46
Substitute: post-build-checks bash
47
Substitute: post-build-checks-malwarescan bash
48
Substitute: rpmlint-Factory bash
49
Substitute: rpmlint-mini bash
50
51
Macros:
52
%vendor http://packman.links2linux.de
53
%packager packman@links2linux.de
54
%packman_bs 1
55
:Macros
56
57