Revert "Since oasis 0.4.7 bytecode has no stublibs anymore"

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-parmap?expand=0&rev=23
This commit is contained in:
Olaf Hering 2017-07-20 14:50:14 +00:00 committed by Git OBS Bridge
parent a9bb04a88f
commit 2254807743
2 changed files with 2 additions and 9 deletions

View File

@ -3,11 +3,6 @@ Mon Jul 17 20:24:18 UTC 2017 - ohering@suse.de
- Update to version 20170223.c9b0ee7 - Update to version 20170223.c9b0ee7
-------------------------------------------------------------------
Mon Jul 17 20:24:18 UTC 2017 - ohering@suse.de
- Since oasis 0.4.7 bytecode has no stublibs anymore
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 17 12:48:58 UTC 2017 - ohering@suse.de Mon Jul 17 12:48:58 UTC 2017 - ohering@suse.de

View File

@ -111,7 +111,6 @@ _EOF_
%install %install
%ocaml_oasis_findlib_install %ocaml_oasis_findlib_install
# #
%if 0%{?ocaml_native_compiler}
mkdir -vp %{buildroot}/etc/ld.so.conf.d/ mkdir -vp %{buildroot}/etc/ld.so.conf.d/
tee %{buildroot}/etc/ld.so.conf.d/%{name}.conf <<_EOF_ tee %{buildroot}/etc/ld.so.conf.d/%{name}.conf <<_EOF_
%{_libdir}/ocaml/parmap %{_libdir}/ocaml/parmap
@ -121,19 +120,18 @@ _EOF_
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%endif
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README.md LICENSE %doc README.md LICENSE
/etc/ld.so.conf.d/*.conf
%{_bindir}/* %{_bindir}/*
%dir %{_libdir}/ocaml %dir %{_libdir}/ocaml
%dir %{_libdir}/ocaml/* %dir %{_libdir}/ocaml/*
%if 0%{?ocaml_native_compiler} %if 0%{?ocaml_native_compiler}
%{_libdir}/ocaml/*/*.cmxs %{_libdir}/ocaml/*/*.cmxs
%{_libdir}/ocaml/*/*.so
/etc/ld.so.conf.d/*.conf
%endif %endif
%{_libdir}/ocaml/*/*.so
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)