From 6419d2de249f3abe4009e1eac8e9fcc343f53106 Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Jan 03 2014 20:56:05 +0000 Subject: Enable lwt.react support, and check it gets enabled (RHBZ#1048367). --- diff --git a/ocaml-lwt.spec b/ocaml-lwt.spec index 2b8f855..a052455 100644 --- a/ocaml-lwt.spec +++ b/ocaml-lwt.spec @@ -2,7 +2,7 @@ Name: ocaml-lwt Version: 2.4.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: OCaml lightweight thread library # The openssl linking exception is granted. @@ -22,8 +22,8 @@ BuildRequires: ocaml >= 3.10.0 BuildRequires: ocaml-findlib-devel BuildRequires: ocaml-ocamldoc BuildRequires: ocaml-camlp4-devel -BuildRequires: ocaml-ssl >= 0.4.0 -BuildRequires: ocaml-react >= 0.9.0 +BuildRequires: ocaml-ssl-devel >= 0.4.0 +BuildRequires: ocaml-react-devel >= 0.9.0 BuildRequires: chrpath BuildRequires: glib2-devel BuildRequires: libev-devel @@ -74,6 +74,9 @@ chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so --prefix=%{_prefix} make test +# Check lwt.react support is enabled (RHBZ#1048367). +OCAMLPATH=$RPM_BUILD_ROOT%{_libdir}/ocaml ocamlfind query lwt.react + %files %doc LICENSE COPYING @@ -99,6 +102,9 @@ make test %changelog +* Fri Jan 3 2014 Richard W.M. Jones - 2.4.3-5 +- Enable lwt.react support, and check it gets enabled (RHBZ#1048367). + * Wed Sep 18 2013 Jerry James - 2.4.3-4 - Rebuild for OCaml 4.01.0, and add -ocaml41 patch to adapt to changes - Enable debuginfo