rpms/ocaml-gettext/devel ocaml-gettext-0.3.2-dynlink.patch, NONE, 1.1 ocaml-gettext.spec, 1.7, 1.8

Richard W.M. Jones rjones at fedoraproject.org
Fri Dec 5 12:30:40 UTC 2008


Author: rjones

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

Modified Files:
	ocaml-gettext.spec 
Added Files:
	ocaml-gettext-0.3.2-dynlink.patch 
Log Message:
* Fri Dec  5 2008 Richard W.M. Jones <rjones at redhat.com> - 0.3.2-6
- Patch to temporarily fix missing dynlink.cma.
- Rebuild for OCaml 3.11.0.


ocaml-gettext-0.3.2-dynlink.patch:

--- NEW FILE ocaml-gettext-0.3.2-dynlink.patch ---
--- ocaml-gettext-0.3.2.orig/ocaml-gettext/Makefile	2008-04-29 21:12:45.000000000 +0100
+++ ocaml-gettext-0.3.2/ocaml-gettext/Makefile	2008-12-05 12:22:12.000000000 +0000
@@ -63,7 +63,7 @@
 
 ocaml-xgettext: $(BUILDBIN)
 	$(OCAMLC)                                                            \
-           -I +camlp4 camlp4lib.cma                                          \
+           -I +camlp4 dynlink.cma camlp4lib.cma                              \
            unix.cma                                                          \
           `$(OCAMLFIND) query -r -predicates byte gettext.extract -i-format` \
           `$(OCAMLFIND) query -r -predicates byte gettext.extract -a-format` \


Index: ocaml-gettext.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-gettext/devel/ocaml-gettext.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ocaml-gettext.spec	4 Dec 2008 19:22:12 -0000	1.7
+++ ocaml-gettext.spec	5 Dec 2008 12:30:09 -0000	1.8
@@ -3,7 +3,7 @@
 
 Name:           ocaml-gettext
 Version:        0.3.2
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        OCaml library for i18n
 
 Group:          Development/Libraries
@@ -12,7 +12,10 @@
 Source0:        http://sylvain.le-gall.net/download/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  ocaml >= 3.10.0
+# Fix dynlink.cma now required with OCaml 3.11.0.
+Patch0:         ocaml-gettext-0.3.2-dynlink.patch
+
+BuildRequires:  ocaml >= 3.11.0-1
 BuildRequires:  ocaml-findlib-devel >= 1.2.1-3
 BuildRequires:  ocaml-ocamldoc
 BuildRequires:  ocaml-camlp4-devel
@@ -97,6 +100,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 
 %build
@@ -216,6 +220,10 @@
 
 
 %changelog
+* Fri Dec  5 2008 Richard W.M. Jones <rjones at redhat.com> - 0.3.2-6
+- Patch to temporarily fix missing dynlink.cma.
+- Rebuild for OCaml 3.11.0.
+
 * Wed Nov 26 2008 Richard W.M. Jones <rjones at redhat.com> - 0.3.2-5
 - Rebuild for OCaml 3.11.0+rc1.
 




More information about the fedora-extras-commits mailing list