rpms/ocaml/devel ocaml.spec,1.60,1.61

Richard W.M. Jones rjones at fedoraproject.org
Fri Oct 16 15:31:50 UTC 2009


Author: rjones

Update of /cvs/pkgs/rpms/ocaml/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2666

Modified Files:
	ocaml.spec 
Log Message:
- Set includes so building the *info programs works without
  having OCaml already installed.



Index: ocaml.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml/devel/ocaml.spec,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -p -r1.60 -r1.61
--- ocaml.spec	16 Oct 2009 14:55:32 -0000	1.60
+++ ocaml.spec	16 Oct 2009 15:31:50 -0000	1.61
@@ -2,7 +2,7 @@
 
 Name:           ocaml
 Version:        3.11.1
-Release:        3%{?dist}
+Release:        4%{?dist}
 
 Summary:        Objective Caml compiler and programming environment
 
@@ -220,9 +220,10 @@ make -C emacs ocamltags
 # Currently these tools are supplied by Debian, but are expected
 # to go upstream at some point.
 cp %{SOURCE6} %{SOURCE7} .
-boot/ocamlrun ./ocamlc -I otherlibs/dynlink dynlinkaux.cmo ocamlbyteinfo.ml -o ocamlbyteinfo
+includes="-nostdlib -I stdlib -I utils -I parsing -I typing -I bytecomp -I asmcomp -I driver -I otherlibs/unix -I otherlibs/str -I otherlibs/dynlink"
+boot/ocamlrun ./ocamlc $includes dynlinkaux.cmo ocamlbyteinfo.ml -o ocamlbyteinfo
 cp otherlibs/dynlink/natdynlink.ml .
-boot/ocamlrun ./ocamlopt unix.cmxa str.cmxa natdynlink.ml ocamlplugininfo.ml -o ocamlplugininfo
+boot/ocamlrun ./ocamlopt $includes unix.cmxa str.cmxa natdynlink.ml ocamlplugininfo.ml -o ocamlplugininfo
 
 
 %install
@@ -450,6 +451,10 @@ fi
 
 
 %changelog
+* Fri Oct 16 2009 Richard W.M. Jones <rjones at redhat.com> - 3.11.1-4
+- Set includes so building the *info programs works without
+  having OCaml already installed.
+
 * Fri Oct 16 2009 Richard W.M. Jones <rjones at redhat.com> - 3.11.1-3
 - Add ocamlbyteinfo and ocamlplugininfo programs from Debian.
 




More information about the fedora-extras-commits mailing list