Project Configuration of home:osmith:latest

100
 
1
# Below is a copy of
2
# https://build.opensuse.org/projects/network:osmocom:nightly/prjconf
3
# ---
4
Order: apt:raspbian-archive-keyring
5
6
# osmo-gsm-manuals: resolve "have choice for jadetex needed by docbook-utils: jadetex texlive-htmlxml"
7
Prefer: texlive-htmlxml
8
9
# osmo-gsm-manuals: resolve "have choice for jadetex needed by docbook-utils: jadetex texlive-formats-extra"
10
Prefer: texlive-formats-extra
11
12
### 2020-01-07: osmith
13
# fix "nothing provides libcrypt1"
14
%if %_repository == "xUbuntu_19.10"
15
Preinstall: !libcrypt1
16
%endif
17
18
### 2020-01-07: osmith
19
# osmo-trx, libusrp: have choice for gfortran-mod-15 needed by libopenmpi-dev: gfortran gfortran-8 gfortran-9
20
Prefer: gfortran-8
21
22
### 2020-01-14: osmith
23
# fix "nothing provides gnupg needed by python-apt"
24
%if %_repository == "Debian_Unstable"
25
Preinstall: gnupg1
26
%endif
27
# fix "nothing provides gnupg1"
28
%if %_repository == "Debian_8.0" || %_repository == "xUbuntu_16.04"
29
Preinstall: !gnupg1
30
%endif
31
32
### 2020-05-20: osmith
33
%if 0%{?suse_version}
34
Ignore: vim-common
35
Substitute: libusb1-devel libusb-1_0-devel
36
%endif
37
38
### 2021-12-10: osmith (SYS#5754)
39
%if %centos_version == 800
40
Substitute: python-devel platform-python-devel
41
%endif
42
43
### 2020-05-20: osmith
44
%if 0%{?centos_version}
45
Substitute: libdbi-drivers-dbd-sqlite3 libdbi-dbd-sqlite
46
Substitute: lzma-devel xz-devel
47
# zeromq
48
Substitute: python python2
49
# osmo-remsim: nothing provides libgnutls-devel needed by ulfius-devel, nothing provides libjansson-devel needed by ulfius-devel
50
# Substitute does not work, as these are depends of depends
51
Preinstall: gnutls-devel jansson-devel
52
Ignore: libgnutls-devel
53
Ignore: libjansson-devel
54
55
Macros:
56
# Needed by orcania (->libulfius->osmo-remsim)
57
# See: https://build.opensuse.org/package/view_file/openSUSE:Factory/cmake/cmake.macros
58
%cmake_install DESTDIR=%{buildroot} make install
59
:Macros
60
%endif
61
62
### 2020-05-20: osmith
63
Prefer: libsmpp34-1-devel
64
65
### 2020-05-20: osmith
66
# Resolve modules
67
# https://docs.fedoraproject.org/en-US/modularity/using-modules/
68
ExpandFlags: module:python36-3.6
69
ExpandFlags: module:python27-2.7
70
71
### 2020-05-20: osmith (ulfius: have choice for systemd needed by libyder-dev: systemctl systemd)
72
Prefer: systemd
73
74
### 2020-12-09: hwelte (ulfius package in opensuse is missing zlib-devel, roox submitted patch upstream)
75
%if 0%{?suse_version}
76
Preinstall: zlib-devel
77
%endif
78
79
### 2021-11-05: osmith (fix for: /.build/build-vm: line 632: mkswap: command not found)
80
%if %_repository == "Debian_Testing"
81
Preinstall: util-linux
82
%endif
83
84
### 2021-12-19: hwelte (yder Requires.private systemd / https://osmocom.org/issues/5362)
85
%if %_repository == "Debian_10" || %_repository == "xUbuntu_18.04" || %_repository == "Raspbian_10"
86
Preinstall: systemd
87
%endif
88
89
### 2021-12-23: osmith (fix for: conflicts between attempted installs of systemd-mini and systemd)
90
%if %suse_version == 1500
91
Preinstall: !systemd
92
%endif
93
94
### 2022-06-24: osmith (fix for bogus "needs 5MB more space on the / filesystem" messages, OS#5588)
95
Support: !post-build-checks
96
97
### 2022-07-26: osmith (fix for: "ERROR: neither groupadd nor busybox found!")
98
%if %suse_version == 1500
99
Preinstall: busybox
100
%endif