Author: rjones
Update of /cvs/pkgs/rpms/ocaml/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14300
Modified Files:
ocaml.spec
Added Files:
ocamlbuild_where.ml.diff
Log Message:
Backport ocamlbuild -where fix.
ocamlbuild_where.ml.diff:
--- NEW FILE ocamlbuild_where.ml.diff ---
--- ocaml/ocamlbuild/ocamlbuild_where.ml 2009/03/05 14:33:06 1.1.2.2
+++ ocaml/ocamlbuild/ocamlbuild_where.ml 2009/05/24 09:11:39 1.1.2.3
@@ -1,5 +1,7 @@
let bindir = ref Ocamlbuild_Myocamlbuild_config.bindir;;
let libdir = ref begin
- try Filename.concat (Sys.getenv "OCAMLLIB") "ocamlbuild"
- with Not_found -> Ocamlbuild_Myocamlbuild_config.libdir
+ Filename.concat
+ (try Sys.getenv "OCAMLLIB"
+ with Not_found -> Ocamlbuild_Myocamlbuild_config.libdir)
+ "ocamlbuild"
end;;
Index: ocaml.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml/devel/ocaml.spec,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -p -r1.52 -r1.53
--- ocaml.spec 22 May 2009 15:25:54 -0000 1.52
+++ ocaml.spec 26 May 2009 13:09:01 -0000 1.53
@@ -2,7 +2,7 @@
Name: ocaml
Version: 3.11.1
-Release: 0.rc0.1%{?dist}
+Release: 0.rc0.2%{?dist}
Summary: Objective Caml compiler and programming environment
@@ -24,6 +24,9 @@ Patch1: ocaml-user-cflags.patch
# Support for PPC64 platform by David Woodhouse:
Patch3: ocaml-3.11.0-ppc64.patch
+# Backport ocamlbuild -where fix to 3.11.1+rc0.
+Patch4: ocamlbuild_where.ml.diff
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel
@@ -195,6 +198,7 @@ man pages and info files.
%patch0 -p1 -b .rpath
%patch1 -p1 -b .cflags
%patch3 -p1 -b .ppc64
+%patch4 -p1 -b .ocamlbuild
cp %{SOURCE2} refman.pdf
@@ -435,6 +439,9 @@ fi
%changelog
+* Tue May 26 2009 Richard W.M. Jones <rjones(a)redhat.com> - 3.11.1-0.rc0.2
+- Backport ocamlbuild -where fix.
+
* Fri May 22 2009 Richard W.M. Jones <rjones(a)redhat.com> - 3.11.1-0.rc0.1
- 3.11.1 release candidate 0.