aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-05-14 11:49:00 +0200
committerOliver Smith <osmith@sysmocom.de>2020-05-15 12:07:08 +0200
commitbeb21ca9c7e7b10ee4aff0added45b730ec9378a (patch)
tree5fd8bede78f0c390e0fc8d7cd33280a48858f2ed
parentb092589ed15295b9e08bcc03c12f061fafeef473 (diff)
contrib: integrate RPM specosmith/rpm
Remove OpenSUSE bug report link, set version to 0.0.0, make it build with CentOS 8 etc. Related: OS#4550 Change-Id: If5499e11d872e629a018fc77d5adf5d0cb863d48
-rw-r--r--contrib/osmo-msc.spec8
1 files changed, 3 insertions, 5 deletions
diff --git a/contrib/osmo-msc.spec b/contrib/osmo-msc.spec
index 55fa4f9ba..77435183f 100644
--- a/contrib/osmo-msc.spec
+++ b/contrib/osmo-msc.spec
@@ -12,17 +12,13 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
## Disable LTO for now since it breaks compilation of the tests
## https://osmocom.org/issues/4115
%define _lto_cflags %{nil}
-
%define with_iu 1
Name: osmo-msc
-Version: 1.6.1.32
+Version: 0.0.0
Release: 0
Summary: Osmocom's MSC for 2G and 3G circuit-switched mobile networks
License: AGPL-3.0-or-later AND GPL-2.0-only
@@ -86,6 +82,7 @@ make %{?_smp_mflags}
%install
%make_install
+%if 0%{?suse_version}
%preun
%service_del_preun %{name}.service
@@ -97,6 +94,7 @@ make %{?_smp_mflags}
%post
%service_add_post %{name}.service
+%endif
%check
make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)