Only run ldconfig when nbdkit-plugin-ocaml is built.
This commit is contained in:
parent
ce4ce8c1dc
commit
6d30221bee
@ -252,9 +252,10 @@ make check
|
||||
%endif
|
||||
|
||||
|
||||
%ifarch %{ocaml_native_compiler}
|
||||
%post plugin-ocaml -p /sbin/ldconfig
|
||||
|
||||
%postun plugin-ocaml -p /sbin/ldconfig
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
|
Loading…
Reference in New Issue
Block a user