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