Project Configuration of osmocom:master
87
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
# osmo-trx, libusrp: have choice for gfortran-mod-15 needed by libopenmpi-dev: gfortran gfortran-8 gfortran-9
11
Prefer: gfortran-8
12
13
### 2020-05-20: osmith
14
%if 0%{?suse_version}
15
Ignore: vim-common
16
Substitute: libusb1-devel libusb-1_0-devel
17
%endif
18
19
### 2021-12-10: osmith (SYS#5754)
20
%if %centos_version == 800
21
Substitute: python-devel platform-python-devel
22
%endif
23
24
### 2020-05-20: osmith
25
%if 0%{?centos_version}
26
Substitute: libdbi-drivers-dbd-sqlite3 libdbi-dbd-sqlite
27
Substitute: lzma-devel xz-devel
28
# zeromq
29
Substitute: python python2
30
# osmo-remsim: nothing provides libgnutls-devel needed by ulfius-devel, nothing provides libjansson-devel needed by ulfius-devel
31
# Substitute does not work, as these are depends of depends
32
Preinstall: gnutls-devel jansson-devel
33
Ignore: libgnutls-devel
34
Ignore: libjansson-devel
35
36
Macros:
37
# Needed by orcania (->libulfius->osmo-remsim)
38
# See: https://build.opensuse.org/package/view_file/openSUSE:Factory/cmake/cmake.macros
39
%cmake_install DESTDIR=%{buildroot} make install
40
:Macros
41
%endif
42
43
### 2020-05-20: osmith
44
Prefer: libsmpp34-1-devel
45
46
### 2020-05-20: osmith
47
# Resolve modules
48
# https://docs.fedoraproject.org/en-US/modularity/using-modules/
49
ExpandFlags: module:python36-3.6
50
ExpandFlags: module:python27-2.7
51
52
### 2020-12-09: hwelte (ulfius package in opensuse is missing zlib-devel, roox submitted patch upstream)
53
%if 0%{?suse_version}
54
Preinstall: zlib-devel
55
%endif
56
57
### 2021-12-23: osmith (fix for: conflicts between attempted installs of systemd-mini and systemd)
58
%if %suse_version == 1500
59
Preinstall: !systemd
60
%endif
61
62
### 2022-06-24: osmith (fix for bogus "needs 5MB more space on the / filesystem" messages, OS#5588)
63
Support: !post-build-checks
64
65
### 2022-08-19: osmith (fix "nothing provides python3-base" for nftables)
66
%if 0%{?centos_version}
67
Substitute: python3-base python3
68
%endif
69
70
### 2022-09-13: osmith (fix "have choice for lsb-base >= 1.3-9ubuntu2 needed by x11-common: lsb-base sysvinit-utils")
71
Prefer: lsb-base
72
73
### 2023-11-02: osmith (gets installed in debian sid, fails to install and not relevant during build)
74
%if %_repository == "Debian_Unstable"
75
Ignore: usr-is-merged
76
%endif
77
78
### 2023-11-24: osmith (fix "have choice for libnftnl.so.11()(64bit) needed by libnftables1: libnftnl libnftnl11")
79
Prefer: libnftnl
80
81
### 2024-02-27: osmith (fix OS#6376)
82
Macros:
83
%source_date_epoch_from_changelog 0
84
:Macros
85
86
### 2024-09-13: osmith (use our libosmo-sccp-legacy instead of libosmo-sccp from debian; OBS picks the wrong one for some reason)
87
Substitute: libosmo-sccp-dev libosmo-sccp-legacy-dev