From c8133924fc552ea5857c09f5ec2be2cd3f0cbcb9 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Thu, 16 Apr 2020 15:35:14 -0600 Subject: [PATCH] Minor spec file cleanups. --- ocaml-markup.spec | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/ocaml-markup.spec b/ocaml-markup.spec index f3178f2..042ae48 100644 --- a/ocaml-markup.spec +++ b/ocaml-markup.spec @@ -17,7 +17,7 @@ Source0: https://github.com/aantron/markup.ml/archive/%{version}/%{srcnam Patch1: markup-0.8.2-rename-ounit.patch BuildRequires: ocaml >= 4.02.0 -BuildRequires: ocaml-bisect-ppx-devel +BuildRequires: ocaml-bisect-ppx-devel >= 2.0.0 BuildRequires: ocaml-dune BuildRequires: ocaml-findlib BuildRequires: ocaml-lwt-devel @@ -25,13 +25,8 @@ BuildRequires: ocaml-mmap-devel BuildRequires: ocaml-ocamldoc BuildRequires: ocaml-ocplib-endian-devel BuildRequires: ocaml-ounit-devel -BuildRequires: ocaml-result-devel BuildRequires: ocaml-uutf-devel >= 1.0.0 -# Workaround for possible bug in another package (maybe LWT?). -# /usr/bin/ld: cannot find -lev -BuildRequires: libev-devel - %description Markup.ml is a pair of parsers implementing the HTML5 and XML specifications, including error recovery. Usage is simple, because each @@ -94,7 +89,8 @@ dune build %{?_smp_mflags} # Build the documentation. Unfortunately, ocamldoc is not smart enough to # figure out that Kstream is Markup.Kstream. I have not been able to figure # out how to convince it, so the temporary hacked-up copy of markup.mli is -# my way of working around the problem. Please fix if you know how. +# my way of working around the problem. We should really build documentation +# with odoc, but this package is a build dependency of odoc. mkdir tmp sed '/Kstream/d' _build/default/src/markup.mli > tmp/markup.mli