[ocaml-reins] Fix missing OCAMLDEP_MODULES.
Richard W.M. Jones
rjones at fedoraproject.org
Thu Jan 6 16:30:01 UTC 2011
commit 8fadc2b803e5e0865545087041bc39fa32cb92b0
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Thu Jan 6 16:28:39 2011 +0000
Fix missing OCAMLDEP_MODULES.
ocaml-reins.spec | 7 +++++--
reins-ocamldep-fix.patch | 11 +++++++++++
2 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/ocaml-reins.spec b/ocaml-reins.spec
index b83a7dc..98c3488 100644
--- a/ocaml-reins.spec
+++ b/ocaml-reins.spec
@@ -3,7 +3,7 @@
Name: ocaml-reins
Version: 0.1a
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Library of OCaml persistent data structures
Group: Development/Libraries
@@ -15,6 +15,7 @@ ExcludeArch: sparc64 s390 s390x
Patch0: reins-destdir-debian.patch
Patch1: reins-install-cmi-debian.patch
+Patch2: reins-ocamldep-fix.patch
BuildRequires: ocaml >= 3.10.0
BuildRequires: ocaml-findlib-devel
@@ -84,6 +85,7 @@ developing applications that use %{name}.
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
@@ -128,8 +130,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
-* Thu Jan 06 2011 Richard W.M. Jones <rjones at redhat.com> - 0.1a-8
+* Thu Jan 06 2011 Richard W.M. Jones <rjones at redhat.com> - 0.1a-9
- Rebuild for OCaml 3.12 (http://fedoraproject.org/wiki/Features/OCaml3.12).
+- Add patch for missing OCAMLDEP_MODULES in config.omake.
* Wed Dec 30 2009 Richard W.M. Jones <rjones at redhat.com> - 0.1a-7
- Rebuild for OCaml 3.11.2.
diff --git a/reins-ocamldep-fix.patch b/reins-ocamldep-fix.patch
new file mode 100644
index 0000000..b9c4462
--- /dev/null
+++ b/reins-ocamldep-fix.patch
@@ -0,0 +1,11 @@
+--- ocaml-reins-0.1a.old/config.omake 2011-01-06 16:24:36.629600652 +0000
++++ ocaml-reins-0.1a/config.omake 2011-01-06 16:26:07.860416206 +0000
+@@ -6,7 +6,7 @@
+ eprintln(ocaml-findlib is required to build this project)
+ exit 1
+ OCAMLDEP_MODULES_ENABLED = $(OCAMLDEP_MODULES_AVAILABLE)
+- OCAMLDEP=$(OCAMLDEP_MODULES)
++ OCAMLDEP=$(OCAMLDEP)
+ if $(not $(defined PREFIX))
+ PREFIX=$(shell ocamlc -where)
+ export
More information about the ocaml-devel
mailing list