ldconfig
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-curses?expand=0&rev=8
This commit is contained in:
parent
0d83a0583a
commit
94d3001e29
@ -78,12 +78,22 @@ export OCAMLFILES="curses META *.cmi *.cma *.so *.mli"
|
|||||||
export OCAMLFILES="$OCAMLFILES *.cmx *.cmxa *.a"
|
export OCAMLFILES="$OCAMLFILES *.cmx *.cmxa *.a"
|
||||||
%endif
|
%endif
|
||||||
ocamlfind install $OCAMLFILES
|
ocamlfind install $OCAMLFILES
|
||||||
|
#
|
||||||
|
mkdir -vp %{buildroot}/etc/ld.so.conf.d/
|
||||||
|
tee %{buildroot}/etc/ld.so.conf.d/%{name}-stub.conf <<_EOF_
|
||||||
|
%{_libdir}/ocaml/stublibs
|
||||||
|
_EOF_
|
||||||
|
#
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
/etc/ld.so.conf.d/*.conf
|
||||||
%dir %{_libdir}/ocaml
|
%dir %{_libdir}/ocaml
|
||||||
%dir %{_libdir}/ocaml/*
|
%dir %{_libdir}/ocaml/*
|
||||||
%{_libdir}/ocaml/*/*.so
|
%{_libdir}/ocaml/*/*.so
|
||||||
|
Loading…
x
Reference in New Issue
Block a user