Change in osmo-iuh[master]: contrib/osmo-iuh.spec: fix missing ldconfig lines

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Wed Nov 3 09:52:44 UTC 2021


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-iuh/+/26082 )


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

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
---
M contrib/osmo-iuh.spec.in
1 file changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/82/26082/1

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 @@
 %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
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/26082
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: I898aa67dbc7deaa9a8235f508a34dd29cc83b385
Gerrit-Change-Number: 26082
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211103/adccbf49/attachment.htm>


More information about the gerrit-log mailing list