Jan Engelhardt 2020-01-07 11:53:49 +00:00 committed by Git OBS Bridge
parent d1f5e15735
commit e3c4a4672e

View File

@ -1,7 +1,7 @@
# #
# spec file for package osmo-iuh # spec file for package osmo-iuh
# #
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -66,11 +66,11 @@ This subpackage contains libraries and header files for developing
applications that want to make use of libosmoranap. applications that want to make use of libosmoranap.
%package -n libosmo-sabp0 %package -n libosmo-sabp0
Summary: Shared Library part of libosmo-sabp Summary: Osmocom Service Area Broadcast Protocol library
Group: System/Libraries Group: System/Libraries
%description -n libosmo-sabp0 %description -n libosmo-sabp0
Osmocom code for the SABP (service area broadcast protocol) interface Osmocom code for the Service Area Broadcast Protocol interface.
%package -n libosmo-sabp-devel %package -n libosmo-sabp-devel
Summary: Development files for Osmocom SABP library Summary: Development files for Osmocom SABP library
@ -78,12 +78,11 @@ Group: Development/Libraries/C and C++
Requires: libosmo-sabp0 = %version Requires: libosmo-sabp0 = %version
%description -n libosmo-sabp-devel %description -n libosmo-sabp-devel
Osmocom code for the SABP (service area broadcast protocol) interface Osmocom code for the Service Area Broadcast Protocol interface.
This subpackage contains libraries and header files for developing This subpackage contains libraries and header files for developing
applications that want to make use of libosmo-sabp. applications that want to make use of libosmo-sabp.
%prep %prep
%autosetup -p1 %autosetup -p1
@ -114,12 +113,16 @@ fi
%postun -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%post -n libosmo-sabp0 -p /sbin/ldconfig %post -n libosmo-sabp0 -p /sbin/ldconfig
%postun -n libosmo-sabp0 -p /sbin/ldconfig %postun -n libosmo-sabp0 -p /sbin/ldconfig
%pre %pre
%service_add_pre osmo-hnbgw.service %service_add_pre osmo-hnbgw.service
%post %post
%service_add_post osmo-hnbgw.service %service_add_post osmo-hnbgw.service
%preun %preun
%service_del_preun osmo-hnbgw.service %service_del_preun osmo-hnbgw.service
%postun %postun
%service_del_postun osmo-hnbgw.service %service_del_postun osmo-hnbgw.service