[ocaml-fileutils] Rebuild for OCaml 4.02.0.
Richard W.M. Jones
rjones at fedoraproject.org
Mon Jul 14 11:38:58 UTC 2014
commit fa5b6a269c1e2987dd1f2f2f01f20609fe6164b1
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Mon Jul 14 12:39:01 2014 +0100
Rebuild for OCaml 4.02.0.
- Add workaround for OCaml ARM code gen bug (RHBZ#1119049).
ocaml-fileutils.spec | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/ocaml-fileutils.spec b/ocaml-fileutils.spec
index e2b09ae..a0f44e6 100644
--- a/ocaml-fileutils.spec
+++ b/ocaml-fileutils.spec
@@ -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 at redhat.com> - 0.4.5-3
+* Mon Jul 14 2014 Richard W.M. Jones <rjones at 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 at lists.fedoraproject.org> - 0.4.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list