[ocaml] Try depending on OCaml BR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 0c497e0dd096a213ed105c9c2c7d21c4bb670b8d
Author: Richard W.M. Jones <rjones@xxxxxxxxxx>
Date:   Tue Jan 4 23:36:32 2011 +0000

    Try depending on OCaml BR

 ocaml.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ocaml.spec b/ocaml.spec
index 1ed89c8..d1bb178 100644
--- a/ocaml.spec
+++ b/ocaml.spec
@@ -2,7 +2,7 @@
 
 Name:           ocaml
 Version:        3.12.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 
 Summary:        Objective Caml compiler and programming environment
 
@@ -26,6 +26,10 @@ Patch1:         ocaml-user-cflags.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+# Depend on previous version of OCaml so that ocamlobjinfo
+# can run.
+BuildRequires:  ocaml
+
 BuildRequires:  ncurses-devel
 BuildRequires:  gdbm-devel
 BuildRequires:  tcl-devel
@@ -438,6 +442,10 @@ fi
 
 
 %changelog
+* Tue Jan  4 2011 Richard W.M. Jones <rjones@xxxxxxxxxx> - 3.12.0-2
+- Try depending on OCaml BR to fix:
+  /usr/lib/rpm/ocaml-find-provides.sh: /builddir/build/BUILDROOT/ocaml-3.12.0-1.fc15.i386/usr/bin/ocamlobjinfo: /usr/bin/ocamlrun: bad interpreter: No such file or directory
+
 * Tue Jan  4 2011 Richard W.M. Jones <rjones@xxxxxxxxxx> - 3.12.0-1
 - New upstream version 3.12.0.
   http://fedoraproject.org/wiki/Features/OCaml3.12
_______________________________________________
ocaml-devel mailing list
ocaml-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/ocaml-devel


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux