aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-05-14 11:47:33 +0200
committerOliver Smith <osmith@sysmocom.de>2020-05-15 12:05:12 +0200
commit1a8db9ea57f5689abafa5b2e0fa8568a5b0a3816 (patch)
treea02f4fb3476b15a989ffb114d486449cc539f605
parent0e3a02776ce2a2b5b0567c6077ef66b153ca57d2 (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: Ibec1a22952ecfb0578bb4611e65ad819f5984fd8
-rw-r--r--contrib/osmo-iuh.spec9
1 files changed, 4 insertions, 5 deletions
diff --git a/contrib/osmo-iuh.spec b/contrib/osmo-iuh.spec
index e2abd35..cf348a1 100644
--- a/contrib/osmo-iuh.spec
+++ b/contrib/osmo-iuh.spec
@@ -12,12 +12,8 @@
# 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/
-#
-
-
Name: osmo-iuh
-Version: 0.6.0.13
+Version: 0.0.0
Release: 0
Summary: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
License: AGPL-3.0-or-later AND GPL-2.0-or-later
@@ -103,10 +99,13 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%postun -n libosmo-ranap3 -p /sbin/ldconfig
%post -n libosmo-sabp0 -p /sbin/ldconfig
%postun -n libosmo-sabp0 -p /sbin/ldconfig
+
+%if 0%{?suse_version}
%pre %service_add_pre osmo-hnbgw.service
%post %service_add_post osmo-hnbgw.service
%preun %service_del_preun osmo-hnbgw.service
%postun %service_del_postun osmo-hnbgw.service
+%endif
%files
%license COPYING