Miscellaneous build system updates.

This commit is contained in:
Richard W.M. Jones 2019-08-01 23:25:48 +01:00
parent 6d5551e15f
commit e14f625808
1 changed files with 4 additions and 4 deletions

View File

@ -33,15 +33,15 @@ developing applications that use %{name}.
%build
jbuilder build @install
jbuilder build --profile release @install
%install
mkdir -p %{buildroot}%{_libdir}/ocaml
jbuilder install --destdir=%{buildroot} --libdir=%{buildroot}%{_libdir}/ocaml
jbuilder install --destdir=%{buildroot} --libdir=%{_libdir}/ocaml
# These files will be installed using doc and license directives.
rm -r %{buildroot}/doc
rm -r %{buildroot}/usr/doc
# Makes *.cmxs executable such that they will be stripped.
find %{buildroot} -name '*.cmxs' -exec chmod 0755 {} \;
@ -77,7 +77,7 @@ jbuilder runtest --no-buffer
%changelog
* Thu Aug 01 2019 Richard W.M. Jones <rjones@redhat.com> - 0.5.1-9
- Bump release and rebuild.
- Miscellaneous build system updates.
* Thu Aug 01 2019 Richard W.M. Jones <rjones@redhat.com> - 0.5.1-8
- OCaml 4.08.1 (rc2) rebuild.