Changes of Revision 677
osmo-msc.spec
Changed
x
1
2
3
%define with_iu 1
4
Name: osmo-msc
5
-Requires: osmocom-nightly = 202404242026
6
-Version: 1.11.1.51.c19f8.202404242026
7
+Requires: osmocom-nightly = 202404252026
8
+Version: 1.11.1.52.62e1.202404252026
9
Release: 0
10
Summary: Osmocom's MSC for 2G and 3G circuit-switched mobile networks
11
License: AGPL-3.0-or-later AND GPL-2.0-only
12
Group: Productivity/Telephony/Servers
13
URL: https://osmocom.org/projects/osmomsc
14
-Source: osmo-msc_1.11.1.51.c19f8.202404242026.tar.xz
15
+Source: osmo-msc_1.11.1.52.62e1.202404252026.tar.xz
16
Source1: rpmlintrc
17
BuildRequires: autoconf
18
BuildRequires: automake
19
20
%install
21
%make_install
22
23
-%if 0%{?suse_version}
24
%preun
25
+%if 0%{?suse_version}
26
%service_del_preun %{name}.service
27
+%endif
28
29
%postun
30
+%if 0%{?suse_version}
31
%service_del_postun %{name}.service
32
+%endif
33
34
%pre
35
+getent group osmocom >/dev/null || groupadd --system osmocom
36
+getent passwd osmocom >/dev/null || useradd --system --gid osmocom --home-dir /var/lib/osmocom \
37
+ --shell /sbin/nologin --comment "Open Source Mobile Communications" osmocom
38
+%if 0%{?suse_version}
39
%service_add_pre %{name}.service
40
+%endif
41
42
%post
43
+%if 0%{?suse_version}
44
%service_add_post %{name}.service
45
%endif
46
+chown osmocom:osmocom /etc/osmocom/osmo-msc.cfg
47
+chmod 0660 /etc/osmocom/osmo-msc.cfg
48
+chown root:osmocom /etc/osmocom
49
+chmod 2775 /etc/osmocom
50
51
%check
52
make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
53
osmo-msc_1.11.1.51.c19f8.202404242026.dsc
Deleted
osmo-msc_1.11.1.51.c19f8.202404242026.tar.xz
Deleted
osmo-msc_1.11.1.52.62e1.202404252026.dsc
Added
osmo-msc_1.11.1.52.62e1.202404252026.tar.xz
Added