diff options
author | Oliver Smith <osmith@sysmocom.de> | 2021-11-03 09:22:54 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2021-11-03 09:22:54 +0100 |
commit | e321f0f77fedfea8468fa9dd22fffe7077d7f901 (patch) | |
tree | 8f773d04846cb8b2db1cda30e2fbbd9f5d9ba277 | |
parent | df5fb9adf2f5330acee77736dcac7c704cb7e19f (diff) |
contrib/osmo-iuh.spec: fix missing ldconfig linesosmith/wip
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
-rw-r--r-- | contrib/osmo-iuh.spec.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/osmo-iuh.spec.in b/contrib/osmo-iuh.spec.in index b4f14f2..f40c3db 100644 --- a/contrib/osmo-iuh.spec.in +++ b/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 |