contrib/osmo-iuh.spec: fix missing ldconfig lines

Fix build failure on various openSUSE distributions in OBS, where
rpmlint runs after the build and complains about these missing
post/postun scriptlets.

Fix for:
  libosmo-hnbap0.x86_64: E: library-without-ldconfig-postin (Badness: 300) /usr/lib64/libosmo-hnbap.so.0.0.0
  ...
  (none): E: badness 1200 exceeds threshold 1000, aborting.

Related: SYS#5516
Change-Id: I898aa67dbc7deaa9a8235f508a34dd29cc83b385
osmith/wip
Oliver Smith 1 year ago
parent df5fb9adf2
commit e321f0f77f
  1. 4
      contrib/osmo-iuh.spec.in

@ -129,8 +129,12 @@ find %{buildroot} -type f -name "*.la" -delete -print
%check
make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%post -n libosmo-hnbap0 -p /sbin/ldconfig
%postun -n libosmo-hnbap0 -p /sbin/ldconfig
%post -n libosmo-ranap3 -p /sbin/ldconfig
%postun -n libosmo-ranap3 -p /sbin/ldconfig
%post -n libosmo-rua0 -p /sbin/ldconfig
%postun -n libosmo-rua0 -p /sbin/ldconfig
%post -n libosmo-sabp0 -p /sbin/ldconfig
%postun -n libosmo-sabp0 -p /sbin/ldconfig

Loading…
Cancel
Save