Rebuild for OCaml 4.02.0.

- Add workaround for OCaml ARM code gen bug (RHBZ#1119049).
This commit is contained in:
Richard W.M. Jones 2014-07-14 12:39:01 +01:00
parent b4ae611ca6
commit fa5b6a269c
1 changed files with 8 additions and 4 deletions

View File

@ -2,7 +2,7 @@
Name: ocaml-fileutils
Version: 0.4.5
Release: 3%{?dist}
Release: 4%{?dist}
Summary: OCaml library for common file and filename operations
License: LGPLv2 with exceptions
@ -50,10 +50,13 @@ mv setup.ml setup.ml.old
sed '/oUnit/d' < setup.ml.old > setup.ml
%endif
ocaml setup.ml -configure --prefix %{_prefix} --destdir $RPM_BUILD_ROOT
%build
%ifarch %{arm}
# Workaround for ARM code gen bug (RHBZ#1119049).
export OCAMLFIND_COMMANDS='ocamlopt=ocamlopt'
%endif
ocaml setup.ml -configure --prefix %{_prefix} --destdir $RPM_BUILD_ROOT
make
@ -95,8 +98,9 @@ make test
%changelog
* Sat Jul 12 2014 Richard W.M. Jones <rjones@redhat.com> - 0.4.5-3
* Mon Jul 14 2014 Richard W.M. Jones <rjones@redhat.com> - 0.4.5-4
- Rebuild for OCaml 4.02.0.
- Add workaround for OCaml ARM code gen bug (RHBZ#1119049).
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild