mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-iuh.git
synced 2025-11-02 13:13:23 +00:00
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
This commit is contained 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user