diff --git a/_service:recompress:tar_scm:ocaml-parmap-20160512.7598fb9.tar.xz b/_service:recompress:tar_scm:ocaml-parmap-20160512.7598fb9.tar.xz index d374f33..24d9a32 100644 --- a/_service:recompress:tar_scm:ocaml-parmap-20160512.7598fb9.tar.xz +++ b/_service:recompress:tar_scm:ocaml-parmap-20160512.7598fb9.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d72190494977d3ece30612cb48ed8dd4199bc714b71899bc3422b0b2cc94585c -size 62356 +oid sha256:4c5a8dc279be621ba2709684822fba25fc182f68cfbbe957b0445070b8204bc8 +size 62368 diff --git a/_service:set_version:ocaml-parmap.spec b/_service:set_version:ocaml-parmap.spec index a2b8b60..c394647 100644 --- a/_service:set_version:ocaml-parmap.spec +++ b/_service:set_version:ocaml-parmap.spec @@ -81,10 +81,21 @@ make \ MANDIR=${o}%{_mandir}/man3 \ DESTDIR=%{buildroot} \ %{?_smp_mflags} +# +mkdir -vp %{buildroot}/etc/ld.so.conf.d/ +tee %{buildroot}/etc/ld.so.conf.d/%{name}.conf <<_EOF_ +%{_libdir}/ocaml/stublibs +_EOF_ +# + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc README.md LICENSE +/etc/ld.so.conf.d/*.conf %dir %{_libdir}/ocaml %dir %{_libdir}/ocaml/* %{_libdir}/ocaml/*/*.so diff --git a/ocaml-parmap.spec b/ocaml-parmap.spec index 28b72ad..f4a7613 100644 --- a/ocaml-parmap.spec +++ b/ocaml-parmap.spec @@ -81,10 +81,21 @@ make \ MANDIR=${o}%{_mandir}/man3 \ DESTDIR=%{buildroot} \ %{?_smp_mflags} +# +mkdir -vp %{buildroot}/etc/ld.so.conf.d/ +tee %{buildroot}/etc/ld.so.conf.d/%{name}.conf <<_EOF_ +%{_libdir}/ocaml/stublibs +_EOF_ +# + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc README.md LICENSE +/etc/ld.so.conf.d/*.conf %dir %{_libdir}/ocaml %dir %{_libdir}/ocaml/* %{_libdir}/ocaml/*/*.so