Olaf Hering 2016-05-26 11:58:52 +00:00 committed by Git OBS Bridge
parent 7697757dc1
commit 5e6af57038
3 changed files with 24 additions and 2 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d72190494977d3ece30612cb48ed8dd4199bc714b71899bc3422b0b2cc94585c
size 62356
oid sha256:4c5a8dc279be621ba2709684822fba25fc182f68cfbbe957b0445070b8204bc8
size 62368

View File

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

View File

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