Try depending on OCaml BR

This commit is contained in:
Richard W.M. Jones 2011-01-04 23:36:32 +00:00
parent c6dd15b742
commit 0c497e0dd0
1 changed files with 9 additions and 1 deletions

View File

@ -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@redhat.com> - 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@redhat.com> - 3.12.0-1
- New upstream version 3.12.0.
http://fedoraproject.org/wiki/Features/OCaml3.12