- 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=21
This commit is contained in:
parent
4efbd1d7a6
commit
5a292f5ccb
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@ -85,7 +85,7 @@ Library parmap
|
||||
Install: true
|
||||
Modules: Parmap
|
||||
CSources: bytearray_stubs.c, setcore_stubs.c, config.h
|
||||
CCOpt: -Wall -O2 -g -I$PWD -Werror -D_GNU_SOURCE
|
||||
CCOpt: %{optflags} -I$PWD -Werror -D_GNU_SOURCE
|
||||
|
||||
Document parmap
|
||||
Title: API reference for parmap
|
||||
@ -111,6 +111,7 @@ _EOF_
|
||||
%install
|
||||
%ocaml_oasis_findlib_install
|
||||
#
|
||||
%if 0%{?ocaml_native_compiler}
|
||||
mkdir -vp %{buildroot}/etc/ld.so.conf.d/
|
||||
tee %{buildroot}/etc/ld.so.conf.d/%{name}.conf <<_EOF_
|
||||
%{_libdir}/ocaml/parmap
|
||||
@ -120,18 +121,19 @@ _EOF_
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README.md LICENSE
|
||||
/etc/ld.so.conf.d/*.conf
|
||||
%{_bindir}/*
|
||||
%dir %{_libdir}/ocaml
|
||||
%dir %{_libdir}/ocaml/*
|
||||
%if 0%{?ocaml_native_compiler}
|
||||
%{_libdir}/ocaml/*/*.cmxs
|
||||
%endif
|
||||
%{_libdir}/ocaml/*/*.so
|
||||
/etc/ld.so.conf.d/*.conf
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
|
Loading…
Reference in New Issue
Block a user