diff --git a/ocaml-gettext-0.3.2-dynlink.patch b/ocaml-gettext-0.3.2-dynlink.patch new file mode 100644 index 0000000..cc888a1 --- /dev/null +++ b/ocaml-gettext-0.3.2-dynlink.patch @@ -0,0 +1,11 @@ +--- 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` \ diff --git a/ocaml-gettext.spec b/ocaml-gettext.spec index 7818121..7b01846 100644 --- a/ocaml-gettext.spec +++ b/ocaml-gettext.spec @@ -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 @@ URL: http://sylvain.le-gall.net/ocaml-gettext.html 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 @@ signature files for developing applications that use %prep %setup -q +%patch0 -p1 %build @@ -216,6 +220,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Dec 5 2008 Richard W.M. Jones - 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 - 0.3.2-5 - Rebuild for OCaml 3.11.0+rc1.