Revert "Since oasis 0.4.7 bytecode has no stublibs anymore"

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

View File

@ -1,8 +1,3 @@
-------------------------------------------------------------------
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

View File

@ -78,7 +78,6 @@ fi
%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/pcre
@ -88,18 +87,17 @@ _EOF_
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%endif
%files
%defattr(-,root,root,-)
%doc COPYING.txt README.md
/etc/ld.so.conf.d/*.conf
%dir %{_libdir}/ocaml
%dir %{_libdir}/ocaml/*
%if 0%{?ocaml_native_compiler}
%{_libdir}/ocaml/*/*.cmxs
%{_libdir}/ocaml/*/*.so
/etc/ld.so.conf.d/*.conf
%endif
%{_libdir}/ocaml/*/*.so
%files devel
%defattr(-,root,root,-)