Enable lwt.react support, and check it gets enabled (RHBZ#1048367).

This commit is contained in:
Richard W.M. Jones 2014-01-03 20:56:05 +00:00
parent 284721bb1d
commit 6419d2de24
1 changed files with 9 additions and 3 deletions

View File

@ -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 <rjones@redhat.com> - 2.4.3-5
- Enable lwt.react support, and check it gets enabled (RHBZ#1048367).
* Wed Sep 18 2013 Jerry James <loganjerry@gmail.com> - 2.4.3-4
- Rebuild for OCaml 4.01.0, and add -ocaml41 patch to adapt to changes
- Enable debuginfo