From 1a8db9ea57f5689abafa5b2e0fa8568a5b0a3816 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Thu, 14 May 2020 11:47:33 +0200 Subject: contrib: integrate RPM spec Remove OpenSUSE bug report link, set version to 0.0.0, make it build with CentOS 8 etc. Related: OS#4550 Change-Id: Ibec1a22952ecfb0578bb4611e65ad819f5984fd8 --- contrib/osmo-iuh.spec | 9 ++++----- 1 file 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 -- cgit v1.2.3